Skip to content

Commit

Permalink
Test ssh (#369)
Browse files Browse the repository at this point in the history
* Update test_ssh.yml

Signed-off-by: andy Augustin <AndreasAugustin@users.noreply.github.com>

* fix: fix issue with substitution 🐛

* chore: version bump to v1.1.1 🚀

* chore: enable again dry run for the ssh test 🚀

---------

Signed-off-by: andy Augustin <AndreasAugustin@users.noreply.github.com>
  • Loading branch information
AndreasAugustin committed Jul 22, 2023
1 parent 964b161 commit 16d2984
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions_template_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1.1.0
uses: AndreasAugustin/actions-template-sync@v1.1.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: AndreasAugustin/template
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test_ssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ on:

jobs:
test-implementation-job:

runs-on: ubuntu-latest

steps:
# To use this repository's private action, you must check out the repository
-
name: Checkout
- name: Checkout
uses: actions/checkout@v3
-
name: Test action step ssh
- name: Test action step ssh
if: github.repository_owner == 'AndreasAugustin'
uses: ./ # Uses an action in the root directory
with:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1.1.0
uses: AndreasAugustin/actions-template-sync@v1.1.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: <owner/repo>
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
with:
token: ${{ steps.generate_token.outputs.token }}
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1.1.0
uses: AndreasAugustin/actions-template-sync@v1.1.1
with:
github_token: ${{ steps.generate_token.outputs.token }}
source_repo_path: <owner/repo>
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1.1.0
uses: AndreasAugustin/actions-template-sync@v1.1.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: ${{ secrets.SOURCE_REPO_PATH }} # <owner/repo>, should be within secrets
Expand Down
2 changes: 1 addition & 1 deletion src/sync_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ push_and_create_pr () {
--body "Merge ${SOURCE_REPO_PATH} ${NEW_TEMPLATE_GIT_HASH}" \
--base "${UPSTREAM_BRANCH}" \
--label "${PR_LABELS}" \
--reviewer "${{ PR_REVIEWERS }}"
--reviewer "${PR_REVIEWERS}"
echo "::endgroup::"
else
warn "dry_run option is set to off. Skipping push changes and skip create pr"
Expand Down

0 comments on commit 16d2984

Please sign in to comment.