Skip to content

Bump webpack from 5.75.0 to 5.99.5 in /smoke-test-app #80

Bump webpack from 5.75.0 to 5.99.5 in /smoke-test-app

Bump webpack from 5.75.0 to 5.99.5 in /smoke-test-app #80

Workflow file for this run

name: Plan Release
on:
workflow_dispatch:
push:
branches:
- main
- master
pull_request_target: # This workflow has permissions on the repo, do NOT run code from PRs in this workflow. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
types:
- labeled
- unlabeled
concurrency:
group: plan-release # only the latest one of these should ever be running
cancel-in-progress: true
jobs:
is-this-a-release:
name: Is this a release?
runs-on: ubuntu-latest
outputs:
is-release: ${{ steps.check-release.outputs.is-release }}
steps:
- uses: kategengler/actions/release-plan/[email protected]
with:
ref: 'main'
id: check-release
create-prepare-release-pr:
name: Create Prepare Release PR
runs-on: ubuntu-latest
timeout-minutes: 5
needs: is-this-a-release
permissions:
contents: write
issues: read
pull-requests: write
# only run on push event or workflow dispatch if plan wasn't updated (don't create a release plan when we're releasing)
# only run on labeled event if the PR has already been merged
if: >
needs.is-this-a-release.outputs.is-release != 'release' &&
(
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)
)
steps:
- uses: kategengler/actions/release-plan/[email protected]
name: Run release-plan prepare
with:
ref: 'main'
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
id: explanation
- uses: peter-evans/create-pull-request@v7
name: Create Prepare Release PR
with:
commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
labels: 'internal'
branch: release-preview
title: Prepare Release ${{ steps.explanation.outputs.new-version }}
body: |
This PR is a preview of the release that [release-plan](https://github.com/embroider-build/release-plan) has prepared. To release you should just merge this PR 👍
-----------------------------------------
${{ steps.explanation.outputs.text }}