generated from AndreasAugustin/template
-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(deps): 🔒 (#388) update docker file deps * chore(gh-action): 👷 (#388) use workflow calls instead of tag trigger * chore(gh-action): 🐛 (#388) fix within worfklow runs * chore(gh-action): 🔒 (#388) small permission fix * chore(gh-action): 🐛 (#388) small typo fix
- Loading branch information
1 parent
9a044f6
commit 7146ab9
Showing
12 changed files
with
112 additions
and
62 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,20 +1,20 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
push: | ||
# manual trigger | ||
branches: | ||
- "!main" | ||
pull_request: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
lint: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: markdownlint | ||
run: make markdownlint | ||
- name: prune | ||
run: make prune | ||
- uses: actions/checkout@v3 | ||
- name: markdownlint | ||
run: make markdownlint | ||
- name: prune | ||
run: make prune |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
call_shellcheck: | ||
uses: ./.github/workflows/shellcheck.yml | ||
call_lint: | ||
uses: ./.github/workflows/lint.yml | ||
call_test_all: | ||
uses: ./.github/workflows/test_all.yml | ||
secrets: inherit | ||
call_release_please: | ||
needs: | ||
- call_shellcheck | ||
- call_lint | ||
- call_test_all | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
uses: ./.github/workflows/release_please.yml | ||
call_push_docker: | ||
if: ${{ needs.call_release_please.outputs.release_created }} | ||
needs: | ||
- call_release_please | ||
permissions: | ||
contents: read | ||
packages: write | ||
uses: ./.github/workflows/push_docker.yml | ||
secrets: inherit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: test-all | ||
|
||
on: | ||
push: | ||
branches: | ||
- "!main" | ||
# pull_request: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
call_test_hooks: | ||
uses: ./.github/workflows/test_hooks.yml | ||
secrets: inherit | ||
call_test_ssh_gitlab: | ||
uses: ./.github/workflows/test_ssh_gitlab.yml | ||
secrets: inherit | ||
call_test_ssh: | ||
uses: ./.github/workflows/test_ssh.yml | ||
secrets: inherit | ||
call_test: | ||
uses: ./.github/workflows/test.yml | ||
secrets: inherit |
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
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