-
Notifications
You must be signed in to change notification settings - Fork 1
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 #12 from lkubb/workflow-update
- Loading branch information
Showing
6 changed files
with
57 additions
and
423 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Autogenerated. Do not edit this by hand, use `copier update`. | ||
--- | ||
_commit: 0.2.6 | ||
_commit: 0.2.7 | ||
_src_path: https://github.com/lkubb/salt-extension-copier | ||
author: jeanluc | ||
author_email: [email protected] | ||
|
@@ -21,3 +21,4 @@ ssh_fixtures: false | |
summary: Salt Extension for interacting with Pushover | ||
tracker_url: https://github.com/salt-extensions/saltext-pushover/issues | ||
url: https://github.com/salt-extensions/saltext-pushover | ||
workflows: org |
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,17 @@ | ||
name: Pull Request or Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' # Run on pushes to main | ||
tags-ignore: | ||
- '*' # Ignore pushes to tags | ||
pull_request: | ||
|
||
jobs: | ||
call_central_workflow: | ||
name: CI | ||
uses: salt-extensions/central-artifacts/.github/workflows/ci.yml@main | ||
permissions: | ||
contents: write | ||
pull-requests: read |
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,31 @@ | ||
name: Tagged Releases | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" # Only tags starting with "v" for "v1.0.0", etc. | ||
|
||
jobs: | ||
get_tag_version: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
version: ${{ steps.get_version.outputs.version }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Extract tag name | ||
id: get_version | ||
run: echo "::set-output name=version::$(echo ${GITHUB_REF#refs/tags/v})" | ||
|
||
call_central_workflow: | ||
needs: get_tag_version | ||
uses: salt-extensions/central-artifacts/.github/workflows/ci.yml@main | ||
with: | ||
release: true | ||
version: ${{ needs.get_tag_version.outputs.version }} | ||
permissions: | ||
contents: write | ||
id-token: write | ||
pull-requests: read | ||
secrets: inherit |
Oops, something went wrong.