v3.81.0 #177
Workflow file for this run
This file contains hidden or 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: post-release | |
| on: | |
| release: | |
| types: | |
| - published | |
| workflow_dispatch: | |
| inputs: | |
| tag: | |
| description: 'Release tag to process (optional)' | |
| required: false | |
| default: '' | |
| env: | |
| DO_NOT_TRACK: 1 # Disable Turbopack telemetry | |
| NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry | |
| PAYLOAD_RELEASE_EVENT: payload-release-event | |
| jobs: | |
| post_release: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| runs-on: ubuntu-24.04 | |
| if: ${{ github.event_name != 'workflow_dispatch' }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: ./.github/actions/release-commenter | |
| continue-on-error: true | |
| env: | |
| ACTIONS_STEP_DEBUG: true | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| tag-filter: 'v\d' | |
| # Change to blank to disable commenting | |
| # comment-template: '' | |
| comment-template: | | |
| 🚀 This is included in version {release_link} | |
| github-releases-to-discord: | |
| runs-on: ubuntu-24.04 | |
| if: ${{ github.event_name != 'workflow_dispatch' }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Announce Release - Releases Channel | |
| uses: SethCohen/github-releases-to-discord@v1.19.0 | |
| with: | |
| webhook_url: ${{ secrets.DISCORD_RELEASES_WEBHOOK_URL }} | |
| color: '16777215' | |
| username: 'Payload Releases' | |
| avatar_url: 'https://l4wlsi8vxy8hre4v.public.blob.vercel-storage.com/discord-bot-logo.png' | |
| - name: Announce Release - General Channel | |
| uses: SethCohen/github-releases-to-discord@v1.19.0 | |
| with: | |
| webhook_url: ${{ secrets.DISCORD_GENERAL_WEBHOOK_URL }} | |
| color: '16777215' | |
| username: 'Payload Releases' | |
| avatar_url: 'https://l4wlsi8vxy8hre4v.public.blob.vercel-storage.com/discord-bot-logo.png' |