Skip to content

Commit e119769

Browse files
authored
Fix trigger for lapo docs (#499)
1 parent 82a6f64 commit e119769

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/notify-plugin-tools.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,19 @@ jobs:
2727
fi
2828
shell: bash
2929

30+
- name: Generate token
31+
if: steps.check_files.outputs.has_relevant_changes == 'true'
32+
id: generate_token
33+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
34+
with:
35+
app_id: ${{ secrets.APP_ID }}
36+
private_key: ${{ secrets.APP_PEM }}
37+
3038
- name: Repository Dispatch
3139
if: steps.check_files.outputs.has_relevant_changes == 'true'
3240
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
3341
with:
34-
token: ${{ secrets.REPO_ACCESS_TOKEN }}
42+
token: ${{ steps.generate_token.outputs.token }}
3543
repository: grafana/plugin-tools
3644
event-type: pr-merged
3745
client-payload: '{"pr_url": "${{ github.event.pull_request.html_url }}"}'

0 commit comments

Comments
 (0)