Skip to content

Commit

Permalink
Update test-action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Nov 16, 2023
1 parent f3bc578 commit 84d459c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions4git/setup-git@v1
- run: gh repo clone actions4git/add-commit-push-test .
- run: git clone "https://x:$TOKEN@github.com/actions4git/add-commit-push-test.git" .
env:
GITHUB_TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}
TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}
- run: echo '{"sha":"${{ github.sha }}"}' > branch.json
- run: git add --all
- run: git commit --message 'Trigger branch'
Expand All @@ -32,9 +32,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions4git/setup-git@v1
- run: gh repo clone actions4git/add-commit-push-test .
- run: git clone "https://x:$TOKEN@github.com/actions4git/add-commit-push-test.git" .
env:
GITHUB_TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}
TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}
- run: echo '{"sha":"${{ github.sha }}"}' > tag.json
- run: git add --all
- run: git commit --message 'Trigger tag'
Expand All @@ -44,9 +44,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions4git/setup-git@v1
- run: gh repo clone actions4git/add-commit-push-test .
- run: git clone "https://x:$TOKEN@github.com/actions4git/add-commit-push-test.git" .
env:
GITHUB_TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}
TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}
- run: echo '{"sha":"${{ github.sha }}"}' > pull-request.json
- run: git add --all
- run: git commit --message 'Trigger pull-request'
Expand All @@ -55,12 +55,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions4git/setup-git@v1
- run: gh repo clone actions4git/add-commit-push-test .
- run: git clone "https://x:$TOKEN@github.com/actions4git/add-commit-push-test.git" .
env:
GITHUB_TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}
TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}
- run: echo '{"sha":"${{ github.sha }}"}' > pull-request-fork.json
- run: git add --all
- run: git commit --message 'Trigger pull-request'
- run: git push --force "https://x:$TOKEN@github.com/actions4git/add-commit-push-test-pull-request-fork" main
- run: git push --force "https://x:$TOKEN@github.com/actions4git/add-commit-push-test-pull-request-fork.git" main
env:
TOKEN: ${{ secrets.ADD_COMMIT_PUSH_TEST_TOKEN }}

0 comments on commit 84d459c

Please sign in to comment.