-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
branches: | ||
- main | ||
|
||
# This is required to be able to update tags and create releases | ||
permissions: | ||
contents: write | ||
|
||
|
@@ -19,16 +20,26 @@ jobs: | |
if: ${{ github.event.pull_request.merged == true }} | ||
|
||
steps: | ||
# Checkout the repository with fetch-tags set to true | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
|
||
- name: Tag Commit | ||
id: tag-commit | ||
# Get the version and update the tags to use in the release | ||
- name: Tag | ||
id: tag | ||
uses: issue-ops/[email protected] | ||
with: | ||
manifest-path: package.json | ||
workspace: ${{ github.workspace }} | ||
ref: main | ||
|
||
# Use the version output from the previous step for the release | ||
# Prepend a 'v' to the beginning (e.g. 'v1.2.3') | ||
- name: Create Release | ||
id: release | ||
uses: issue-ops/[email protected] | ||
with: | ||
tag: v${{ steps.tag.outputs.version }} |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Continuous Integration | |
|
||
on: | ||
push: | ||
branches: | ||
branches-ignore: | ||
- main | ||
pull_request: | ||
branches: | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Super Linter | |
|
||
on: | ||
push: | ||
branches: | ||
branches-ignore: | ||
- main | ||
pull_request: | ||
branches: | ||
|