Update action.yml to run with Dockerfile #11
Workflow file for this run
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: Announce a release | |
on: | |
push: | |
tags: 'announce-[0-9]+.[0-9]+.[0-9]+' | |
concurrency: announce-a-release | |
jobs: | |
announce: | |
name: Announcements | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v4.1.1 | |
with: | |
ref: "main" | |
token: ${{ secrets.RELEASE_TOKEN }} | |
- name: Release notes | |
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3 | |
with: | |
entrypoint: publish-release-notes-to-github | |
env: | |
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} | |
- name: Zulip | |
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3 | |
with: | |
entrypoint: send-announcement-to-pony-zulip | |
env: | |
ZULIP_API_KEY: ${{ secrets.ZULIP_RELEASE_API_KEY }} | |
ZULIP_EMAIL: ${{ secrets.ZULIP_RELEASE_EMAIL }} | |
- name: Last Week in Pony | |
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3 | |
with: | |
entrypoint: add-announcement-to-last-week-in-pony | |
env: | |
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} | |
post-announcement: | |
name: Tasks to run after the release has been announced | |
needs: | |
- announce | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v4.1.1 | |
with: | |
ref: "main" | |
token: ${{ secrets.RELEASE_TOKEN }} | |
- name: Rotate release notes | |
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3 | |
with: | |
entrypoint: rotate-release-notes | |
env: | |
GIT_USER_NAME: "Ponylang Main Bot" | |
GIT_USER_EMAIL: "ponylang.main@gmail.com" | |
- name: Delete announcement trigger tag | |
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3 | |
with: | |
entrypoint: delete-announcement-tag | |
env: | |
GIT_USER_NAME: "Ponylang Main Bot" | |
GIT_USER_EMAIL: "ponylang.main@gmail.com" | |
prune-untagged-images: | |
needs: | |
- announce | |
name: Prune untagged images | |
runs-on: ubuntu-latest | |
steps: | |
- name: Prune | |
# v4.1.1 | |
uses: actions/delete-package-versions@0d39a63126868f5eefaa47169615edd3c0f61e20 | |
with: | |
package-name: 'changelog-bot-action' | |
package-type: 'container' | |
min-versions-to-keep: 1 | |
delete-only-untagged-versions: 'true' |