inject a comment into queries so that the panel/dashboard can be easily identified #171
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
name: Run commands when issues are labeled | |
on: | |
issues: | |
types: [labeled, unlabeled] | |
pull_request: | |
types: [labeled, unlabeled] | |
branches-ignore: "dependabot/**" | |
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: "Generate token" | |
id: generate_token | |
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 | |
with: | |
app_id: ${{ secrets.AWS_DS_TOKEN_CREATOR_ID }} | |
private_key: ${{ secrets.AWS_DS_TOKEN_CREATOR_PEM }} | |
- name: Run Commands | |
uses: ./actions/commands | |
with: | |
token: ${{ steps.generate_token.outputs.token }} | |
configPath: issue_commands |