2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

chore(ci): update github actions; (#6889)

This commit is contained in:
Dmitriy Mozgovoy
2025-04-24 19:34:08 +03:00
committed by GitHub
parent c3aba3d8f7
commit 61de4c05cc
4 changed files with 19 additions and 13 deletions
+9 -9
View File
@@ -1,34 +1,34 @@
"pr:docs":
"pr::docs":
- changed-files:
- any-glob-to-any-file: '**.md'
"pr:code":
"pr::code":
- changed-files:
- any-glob-to-any-file: 'lib/**.js'
"pr:types":
"pr::types":
- changed-files:
- any-glob-to-any-file: ['index.d.ts', 'index.d.cts']
"pr:tests":
"pr::tests":
- changed-files:
- any-glob-to-any-file: 'test/**.js'
"pr:github-actions":
"pr::github-actions":
- changed-files:
- any-glob-to-any-file: '**.d.ts'
"pr:examples":
"pr::examples":
- changed-files:
- any-glob-to-any-file: 'examples/**.js'
"pr:ci":
"pr::ci":
- changed-files:
- any-glob-to-any-file: ['bin/**', 'rollup.config.js']
"pr:feature":
"pr::feature":
- head-branch: ['feature', 'feat']
"pr:fix":
"pr::fix":
- head-branch: ['fix', 'bug']
+7 -1
View File
@@ -14,6 +14,12 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Set PR number
id: set-pr
run: |
echo "Using PR number: ${{ github.event.inputs.prs || github.event.pull_request.number }}"
echo "pr=${{ github.event.inputs.prs || github.event.pull_request.number }}" >> $GITHUB_OUTPUT
- uses: actions/labeler@v5
with:
pr-number: github.event.inputs.prs
pr-number: ${{ steps.set-pr.outputs.pr }}
+1 -1
View File
@@ -70,7 +70,7 @@ jobs:
${{ steps.extract-release-notes.outputs.release_notes }}
labels: |
release
automated pr
bot
signoff: false
#team-reviewers: |
# owners
+2 -2
View File
@@ -55,8 +55,8 @@ jobs:
**New sponsor block update:**
${{ env.CONTENT }}
labels: |
readme
automated pr
pr::docs
bot
automerge
signoff: false
#team-reviewers: |