-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Combine reusable workflows into the main action (#61)
* Combined jobs * title * inputs * secrets * clone after use * merged * removing reusable workflows * run from develop branch * integration test from the PR's branch * only merged PR's * Enable auto-merge option * bash ofc * run summary * oh my bash
- Loading branch information
1 parent
ed7007a
commit a38c899
Showing
11 changed files
with
138 additions
and
90 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
18 changes: 11 additions & 7 deletions
18
.github/workflows/prepare-release.yml → .github/workflows/releases.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
name: Prepare release | ||
name: Release management | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pre-release: | ||
required: false | ||
type: boolean | ||
default: false | ||
description: "This release will be labeled as non-production ready" | ||
pull_request: | ||
types: | ||
- closed | ||
- labeled | ||
- unlabeled | ||
branches: | ||
- main | ||
|
||
jobs: | ||
candidate: | ||
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged && !startsWith(github.head_ref, 'promote/')) | ||
release: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Preparing the next main release | ||
uses: ./ | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
develop-branch: main | ||
version-files: package.json | ||
version-files: package.json | ||
pre-release: ${{ inputs.pre-release || false }} | ||
release-title: Release Automation Action |
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.