Skip to content

trigger

trigger #19

Workflow file for this run

name: Test
on:
push:
branches: main
paths: trigger
jobs:
test:
name: Test
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- run: |
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 add README.md
git commit -m "Switch docs version back"
PULL_REQUEST_URI=$(gh pr create --base main --head switch-docs-version-back --title "Switch docs version back")
gh pr merge $PULL_REQUEST_URI --merge