8000 chore(ci): update github actions; (#6889) · axios/axios@61de4c0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 61de4c0

Browse files
chore(ci): update github actions; (#6889)
1 parent c3aba3d commit 61de4c0

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

.github/labeler.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11

2-
"pr:docs":
2+
"pr::docs":
33
- changed-files:
44
- any-glob-to-any-file: '**.md'
55

6-
"pr:code":
6+
"pr::code":
77
- changed-files:
88
- any-glob-to-any-file: 'lib/**.js'
99

10-
"pr:types":
10+
"pr::types":
1111
- changed-files:
1212
- any-glob-to-any-file: ['index.d.ts', 'index.d.cts']
1313

14-
"pr:tests":
14+
"pr::tests":
1515
- changed-files:
1616
- any-glob-to-any-file: 'test/**.js'
1717

18-
"pr:github-actions":
18+
"pr::github-actions":
1919
- changed-files:
2020
- any-glob-to-any-file: '**.d.ts'
2121

22-
"pr:examples":
22+
"pr::examples":
2323
- changed-files:
2424
- any-glob-to-any-file: 'examples/**.js'
2525

26-
"pr:ci":
26+
"pr::ci":
2727
- changed-files:
2828
- any-glob-to-any-file: ['bin/**', 'rollup.config.js']
2929

30-
"pr:feature":
30+
"pr::feature":
3131
- head-branch: ['feature', 'feat']
3232

33-
"pr:fix":
33+
"pr::fix":
3434
- head-branch: ['fix', 'bug']

.github/workflows/labeler.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ jobs:
1414
pull-requests: write
1515
runs-on: ubuntu-latest
1616
steps:
17+
- name: Set PR number
18+
id: set-pr
19+
run: |
20+
echo "Using PR number: ${{ github.event.inputs.prs || github.event.pull_request.number }}"
21+
echo "pr=${{ github.event.inputs.prs || github.event.pull_request.number }}" >> $GITHUB_OUTPUT
22+
1723
- uses: actions/labeler@v5
1824
with:
19-
pr-number: github.event.inputs.prs
25+
pr-number: ${{ steps.set-pr.outputs.pr }}

.github/workflows/pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
${{ steps.extract-release-notes.outputs.release_notes }}
7171
labels: |
7272
release
73-
automated pr
73+
bot
7474
signoff: false
7575
#team-reviewers: |
7676
# owners

.github/workflows/sponsors.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
**New sponsor block update:**
5656
${{ env.CONTENT }}
5757
labels: |
58-
readme
59-
automated pr
58+
pr::docs
59+
bot
6060
automerge
6161
signoff: false
6262
#team-reviewers: |

0 commit comments

Comments
 (0)
0