-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from Contrast-Security-OSS/SCA-1271
breaking: theses changes will bump this up to v3.0.0
- Loading branch information
Showing
6 changed files
with
118 additions
and
82 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: create-release | ||
|
||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- 'main' | ||
types: | ||
- closed | ||
|
||
|
||
permissions: | ||
contents: write | ||
jobs: | ||
tagged-release: | ||
name: "Tagged Release" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Git Version | ||
id: version | ||
uses: codacy/git-version@80c816f11db8dea5e3a81025f598193015b51832 | ||
with: | ||
release-branch: main | ||
prefix: v | ||
|
||
- name: Create Release | ||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 | ||
with: | ||
tag_name: ${{ steps.version.outputs.version }} | ||
token: ${{secrets.SCA_OSS_PAT}} # Used so pipeline gets triggered from this one | ||
# See https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Keep the versions up-to-date | ||
|
||
on: | ||
release: | ||
types: [published, edited] | ||
|
||
permissions: | ||
contents: write | ||
jobs: | ||
actions-tagger: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: Actions-R-Us/actions-tagger@330ddfac760021349fef7ff62b372f2f691c20fb | ||
with: | ||
publish_latest_tag: false |
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 was deleted.
Oops, something went wrong.