Skip to content

Commit 5e52e55

Browse files
committed
Merge branch 'main' into update-dependencies-workflows
* main: optimize workflows chore(deps): bump github.com/dgraph-io/ristretto in /badger
2 parents ee74459 + d2085f7 commit 5e52e55

File tree

2 files changed

+14
-52
lines changed

2 files changed

+14
-52
lines changed

.github/labeler.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/auto-labeler.yml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
1-
name: Auto labeler
1+
name: auto-labeler
2+
23
on:
3-
issues:
4-
types: [opened, edited, milestoned]
5-
pull_request_target:
6-
types: [opened, edited, reopened, synchronize]
7-
workflow_dispatch:
8-
permissions:
9-
# Setting up permissions in the workflow to limit the scope of what it can do. Optional!
10-
contents: read # the config file
11-
issues: write # for labeling issues (on: issues)
12-
pull-requests: write # for labeling pull requests (on: pull_request_target or on: pull_request)
13-
statuses: write # to generate status
14-
checks: write # to generate status
4+
issues:
5+
types: [opened, edited, milestoned]
6+
pull_request_target:
7+
types: [opened, edited, reopened, synchronize]
8+
workflow_dispatch:
9+
1510
jobs:
16-
labeler:
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Check Labels
20-
id: labeler
21-
uses: fuxingloh/multi-labeler@b15a54460c38f54043fa75f7b08a0e2aa5b94b5b #v4.0.0
11+
auto-labeler:
12+
uses: gofiber/.github/.github/workflows/auto-labeler.yml@main
13+
secrets:
14+
github-token: ${{ secrets.ISSUE_PR_TOKEN }}
2215
with:
23-
# Use a PAT so that applying labels can trigger downstream workflows
24-
# (GITHUB_TOKEN updates do not emit additional workflow events).
25-
github-token: ${{ secrets.ISSUE_PR_TOKEN }}
16+
config-path: .github/labeler.yml
17+
config-repository: gofiber/.github

0 commit comments

Comments
 (0)