Rebaseline Tests #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rebaseline Tests | |
on: [workflow_dispatch] | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
rebaseline-tests: | |
name: Rebaseline Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Rebaseline tests | |
run: | | |
git config user.name emscripten-bot | |
git config user.email [email protected] | |
cat "TEST" >> README.md | |
git add README.md | |
git checkout -b testing | |
git commit -m "Testing" | |
#./bootstrap | |
#./tools/maint/rebaseline_tests.py | |
- name: Create PR | |
id: cpr | |
run: | | |
git push origin | |
gh pr create --fill | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Enable auto-merge | |
run: gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |