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.
* docs: 📝 udate documentation (#220) * docs: ⬆️ add yq into the container (#220) * docs: ⬆️ add yq into the container (#220) * docs: 📝 update documentation (#220) * feat: ✨ add hooks (#220) * chore: 🚀 release v0.7.0-draft (#220)
- Loading branch information
1 parent
cb6f2a1
commit 41013fe
Showing
9 changed files
with
128 additions
and
6 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 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,28 @@ | ||
name: test-hooks | ||
|
||
on: | ||
pull_request: | ||
push: | ||
# manual trigger | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
test-implementation-job: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# To use this repository's private action, you must check out the repository | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v3 | ||
- | ||
name: Test action step | ||
uses: ./ # Uses an action in the root directory | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
source_repo_path: AndreasAugustin/template.git | ||
upstream_branch: main | ||
is_dry_run: true | ||
is_allow_hooks: true |
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
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,11 @@ | ||
# validate | ||
|
||
hooks: | ||
install: | ||
commands: | ||
- echo 'hi, we are within the prepush phase' | ||
|
||
prepush: | ||
commands: | ||
- echo 'hi, we are within the prepush phase' | ||
- echo 'maybe you want to add further changes and commits' |