diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6243afb..4376daf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,11 @@ jobs: echo "something" >> README.md git config user.name "$(git --no-pager log --format=format:'%an' -n 1)" git config user.email "$(git --no-pager log --format=format:'%ae' -n 1)" + git checkout -b switch-docs-version-back git add README.md git commit -m "Switch docs version back" - git push + git push origin switch-docs-version-back + PULL_REQUEST_URI=$(gh pr create --title "Switch docs version back" --body "" --head main --base main) + gh pr merge $PULL_REQUEST_URI --merge + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/trigger b/trigger index cdfc83c..eaf82f7 100644 --- a/trigger +++ b/trigger @@ -1,2 +1,2 @@ aaa - +aaa