Skip to content

Commit

Permalink
Update again
Browse files Browse the repository at this point in the history
  • Loading branch information
aangelisc committed Oct 24, 2024
1 parent 7cb6da4 commit 251cdcf
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/notify-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,20 @@ on:
types: [published, created]

jobs:
send-slack-notification:
runs-on: ubuntu-latest
steps:
- name: Generate token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.PARTNER_DATASOURCES_APP_ID }}
private_key: ${{ secrets.PARTNER_DATASOURCES_APP_PEM }}
generate-token:
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.PARTNER_DATASOURCES_APP_ID }}
private_key: ${{ secrets.PARTNER_DATASOURCES_APP_PEM }}

- name: Send notification
uses: grafana/plugins-actions/.github/workflows/plugin-release-slack-notification.yml@main
with:
channelId: ${{ vars.PARTNER_DATASOURCES_PUBLIC_CHANNEL_ID }}
repoId: sentry-datasource
commitSha: ${{ github.sha }}
secrets:
slackBotToken: ${{ secrets.PARTNER_DATASOURCES_SLACK_APP_TOKEN }}
slackBotSigningSecret: ${{ secrets.PARTNER_DATASOURCES_SLACK_APP_SIGNING_SECRET }}
githubToken: ${{ steps.generate-token.outputs.token }}
send-slack-notification:
needs: generate-token
uses: grafana/plugins-actions/.github/workflows/plugin-release-slack-notification.yml@main
with:
channelId: ${{ vars.PARTNER_DATASOURCES_PUBLIC_CHANNEL_ID }}
repoId: sentry-datasource
commitSha: ${{ github.sha }}
secrets:
slackBotToken: ${{ secrets.PARTNER_DATASOURCES_SLACK_APP_TOKEN }}
slackBotSigningSecret: ${{ secrets.PARTNER_DATASOURCES_SLACK_APP_SIGNING_SECRET }}
githubToken: ${{ needs.generate-token.outputs.token }}

0 comments on commit 251cdcf

Please sign in to comment.