Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Apr 9, 2024
1 parent 5fe0131 commit ed643a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
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
echo "something" >> README.md
git add README.md
git commit -m "Switch docs version back"
git push -u origin switch-docs-version
gh pr create --title "Switch docs version back" --body "" --head main -H switch-docs-version
PULL_REQUEST_URI=$(gh pr create --title "Switch docs version back" --body "" --head main -H switch-docs-version)
gh pr merge $PULL_REQUEST_URI --merge --admin
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions trigger
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
aaa
aaa
aaa

0 comments on commit ed643a3

Please sign in to comment.