mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-10-06 12:38:40 +00:00
Fix PR-raising logic (#191)
This commit is contained in:
2
.github/workflows/flake_update.yaml
vendored
2
.github/workflows/flake_update.yaml
vendored
@@ -45,13 +45,13 @@ jobs:
|
||||
run: python -m venv /tmp/venv && /tmp/venv/bin/python -m pip install -r .github/workflows/requirements.txt
|
||||
|
||||
- name: Create pull request
|
||||
id: cpr
|
||||
env:
|
||||
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
|
||||
BEARER_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||
run: /tmp/venv/bin/python .github/workflows/commit.py
|
||||
|
||||
- name: Enable Pull Request Automerge
|
||||
if: steps.cpr.outputs.pull-request-operation == 'created'
|
||||
uses: peter-evans/enable-pull-request-automerge@v3
|
||||
with:
|
||||
token: ${{ steps.generate-token.outputs.token }}
|
||||
|
Reference in New Issue
Block a user