Skip to content

Test of newly added actions #2

Test of newly added actions

Test of newly added actions #2

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 38, Col: 9): Job 'trigger-release-announcement' depends on unknown job 'generate-documentation'.
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
concurrency: release
permissions:
contents: read
pages: write
id-token: write
packages: read
jobs:
# validation to assure that we should in fact continue with the release should
# be done here. the primary reason for this step is to verify that the release
# was started correctly by pushing a `release-X.Y.Z` tag rather than `X.Y.Z`.
pre-artefact-creation:
name: Tasks to run before artefact creation
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
- name: Validate CHANGELOG
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3
with:
entrypoint: pre-artefact-changelog-check
trigger-release-announcement:
name: Trigger release announcement
runs-on: ubuntu-latest
needs:
- generate-documentation
steps:
- uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
- name: Trigger
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3
with:
entrypoint: trigger-release-announcement
env:
GIT_USER_NAME: "Ponylang Main Bot"
GIT_USER_EMAIL: "ponylang.main@gmail.com"