diff --git a/.github/workflows/sync-branches.yml b/.github/workflows/sync-branches.yml index d141749..6899f01 100644 --- a/.github/workflows/sync-branches.yml +++ b/.github/workflows/sync-branches.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - ref: production + ref: release - name: Reset promotion branch run: | git fetch origin master:master diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml index 858ecc2..cec0546 100644 --- a/.github/workflows/tag-and-release.yml +++ b/.github/workflows/tag-and-release.yml @@ -8,8 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: - ref: release - name: Stamp tag id: stamp diff --git a/.github/workflows/test-git-commit-push.yml b/.github/workflows/test-git-commit-push.yml new file mode 100644 index 0000000..8c2fd93 --- /dev/null +++ b/.github/workflows/test-git-commit-push.yml @@ -0,0 +1,24 @@ +name: test-commit-push + +on: + workflow_dispatch: {} +jobs: + update-image: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout repository + uses: actions/checkout@v5 + + - name: Create dummy changes + run: | + echo "Dummy change at $(date)" >> DUMMY.md + + - name: Commit and push changes + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git add . + git commit -m "ci: test commit from gh actions" || exit 0 + git push diff --git a/test.md b/test.md new file mode 100644 index 0000000..5d703c3 --- /dev/null +++ b/test.md @@ -0,0 +1,2 @@ +FOO +BAR