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:
+9
-9
@@ -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']
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
${{ steps.extract-release-notes.outputs.release_notes }}
|
||||
labels: |
|
||||
release
|
||||
automated pr
|
||||
bot
|
||||
signoff: false
|
||||
#team-reviewers: |
|
||||
# owners
|
||||
|
||||
@@ -55,8 +55,8 @@ jobs:
|
||||
**New sponsor block update:**
|
||||
${{ env.CONTENT }}
|
||||
labels: |
|
||||
readme
|
||||
automated pr
|
||||
pr::docs
|
||||
bot
|
||||
automerge
|
||||
signoff: false
|
||||
#team-reviewers: |
|
||||
|
||||
Reference in New Issue
Block a user