chore(deps): update axllent/mailpit docker tag to v1.21.1 (#995) #2457
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: "Test release notes script" | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
release_script: | |
runs-on: ubuntu-latest | |
name: Build release script | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.20" | |
- name: Build | |
working-directory: ./release-notes-fetcher | |
run: go build | |
- name: Generate token for Camunda GitHub org | |
id: generate-camunda-github-token | |
uses: tibdex/github-app-token@v2 | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
- name: Generate token for Camunda Cloud GitHub org | |
id: generate-camunda-cloud-github-token | |
uses: tibdex/github-app-token@v2 | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
installation_retrieval_mode: "repository" | |
installation_retrieval_payload: "camunda-cloud/identity" | |
- name: Run release notes script | |
working-directory: ./release-notes-fetcher | |
# The var CAMUNDA_RELEASE_NAME should be the same as GITHUB_REF_NAME but it's hard-coded as 8.3.1 tag | |
# and we just want to see if a valid version can fetch notes | |
run: set -o pipefail; CAMUNDA_RELEASE_NAME=8.5.1 ./release-notes-fetcher | tee release_notes.txt | |
env: | |
GITHUB_CAMUNDA_ACCESS_TOKEN: ${{ steps.generate-camunda-github-token.outputs.token }} | |
GITHUB_CAMUNDA_CLOUD_ACCESS_TOKEN: ${{ steps.generate-camunda-cloud-github-token.outputs.token }} |