Skip to content

Commit

Permalink
Attempted to move comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-bagterp committed Nov 3, 2024
1 parent 5fa02cb commit 9bb0990
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,12 @@ jobs:
- name: Try to enable auto-merge of pull request and delete branch
env:
GITHUB_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
run: |
run: | # Ignore errors if pull request can't be merged. Then we just have to do it manually.
sleep 2
PULL_REQUEST_NUMBER=$(gh pr list --json number --jq ".[0].number" || echo "")
if [ -n "$PULL_REQUEST_NUMBER" ]; then
gh pr merge "$PULL_REQUEST_NUMBER" --auto --merge --delete-branch || true
fi
# Ignore errors if pull request can't be merged. Then we just have to do it manually.
update-version-badge:
name: Update version badge in README.md
Expand Down Expand Up @@ -99,10 +98,9 @@ jobs:
- name: Try to enable auto-merge of pull request and delete branch
env:
GITHUB_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
run: |
run: | # Ignore errors if pull request can't be merged. Then we just have to do it manually.
sleep 2
PULL_REQUEST_NUMBER=$(gh pr list --json number --jq ".[0].number" || echo "")
if [ -n "$PULL_REQUEST_NUMBER" ]; then
gh pr merge "$PULL_REQUEST_NUMBER" --auto --merge --delete-branch || true
fi
# Ignore errors if pull request can't be merged. Then we just have to do it manually.

0 comments on commit 9bb0990

Please sign in to comment.