forked from grafana/alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add issue_commands.json for type/docs label. (grafana#2572)
- Loading branch information
1 parent
bf34485
commit 3d8f532
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"type": "label", | ||
"name": "type/docs", | ||
"action": "addToProject", | ||
"addToProject": { | ||
"url": "https://github.com/orgs/grafana/projects/69" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Run commands when issues are labeled | ||
on: | ||
issues: | ||
types: [labeled] | ||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Actions | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: "grafana/grafana-github-actions" | ||
path: ./actions | ||
ref: main | ||
- name: Install Actions | ||
run: npm install --production --prefix ./actions | ||
- name: Run Commands | ||
uses: ./actions/commands | ||
with: | ||
token: ${{secrets.GH_BOT_ACCESS_TOKEN}} | ||
configPath: issue_commands |