mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
chore(ci): update github actions; (#6889)
This commit is contained in:
+9
-9
@@ -1,34 +1,34 @@
|
|||||||
|
|
||||||
"pr:docs":
|
"pr::docs":
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: '**.md'
|
- any-glob-to-any-file: '**.md'
|
||||||
|
|
||||||
"pr:code":
|
"pr::code":
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'lib/**.js'
|
- any-glob-to-any-file: 'lib/**.js'
|
||||||
|
|
||||||
"pr:types":
|
"pr::types":
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: ['index.d.ts', 'index.d.cts']
|
- any-glob-to-any-file: ['index.d.ts', 'index.d.cts']
|
||||||
|
|
||||||
"pr:tests":
|
"pr::tests":
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'test/**.js'
|
- any-glob-to-any-file: 'test/**.js'
|
||||||
|
|
||||||
"pr:github-actions":
|
"pr::github-actions":
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: '**.d.ts'
|
- any-glob-to-any-file: '**.d.ts'
|
||||||
|
|
||||||
"pr:examples":
|
"pr::examples":
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: 'examples/**.js'
|
- any-glob-to-any-file: 'examples/**.js'
|
||||||
|
|
||||||
"pr:ci":
|
"pr::ci":
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: ['bin/**', 'rollup.config.js']
|
- any-glob-to-any-file: ['bin/**', 'rollup.config.js']
|
||||||
|
|
||||||
"pr:feature":
|
"pr::feature":
|
||||||
- head-branch: ['feature', 'feat']
|
- head-branch: ['feature', 'feat']
|
||||||
|
|
||||||
"pr:fix":
|
"pr::fix":
|
||||||
- head-branch: ['fix', 'bug']
|
- head-branch: ['fix', 'bug']
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
- uses: actions/labeler@v5
|
||||||
with:
|
with:
|
||||||
pr-number: github.event.inputs.prs
|
pr-number: ${{ steps.set-pr.outputs.pr }}
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
${{ steps.extract-release-notes.outputs.release_notes }}
|
${{ steps.extract-release-notes.outputs.release_notes }}
|
||||||
labels: |
|
labels: |
|
||||||
release
|
release
|
||||||
automated pr
|
bot
|
||||||
signoff: false
|
signoff: false
|
||||||
#team-reviewers: |
|
#team-reviewers: |
|
||||||
# owners
|
# owners
|
||||||
|
|||||||
@@ -55,8 +55,8 @@ jobs:
|
|||||||
**New sponsor block update:**
|
**New sponsor block update:**
|
||||||
${{ env.CONTENT }}
|
${{ env.CONTENT }}
|
||||||
labels: |
|
labels: |
|
||||||
readme
|
pr::docs
|
||||||
automated pr
|
bot
|
||||||
automerge
|
automerge
|
||||||
signoff: false
|
signoff: false
|
||||||
#team-reviewers: |
|
#team-reviewers: |
|
||||||
|
|||||||
Reference in New Issue
Block a user