Skip to content

Commit

Permalink
run it on fork
Browse files Browse the repository at this point in the history
  • Loading branch information
KasukabeDefenceForce committed Dec 23, 2024
1 parent 310e5e9 commit 93e818f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,17 @@ jobs:
- name: Wait for pull request
run: sleep 30

- name: Approve pull request (I)
run: gh pr review ${{ steps.create-pr.outputs.pull-request-number }} --approve
env:
GITHUB_TOKEN: ${{ secrets.INFRASTRUCTURE_COORDINATOR_TOKEN }}
if: steps.create-pr.outputs.pull-request-operation == 'created'
# - name: Approve pull request (I)
# run: gh pr review ${{ steps.create-pr.outputs.pull-request-number }} --approve
# env:
# GITHUB_TOKEN: ${{ secrets.INFRASTRUCTURE_COORDINATOR_TOKEN }}
# if: steps.create-pr.outputs.pull-request-operation == 'created'

- name: Approve pull request (II)
run: gh pr review ${{ steps.create-pr.outputs.pull-request-number }} --approve
env:
GITHUB_TOKEN: ${{ secrets.CORE_COORDINATOR_TOKEN }}
if: steps.create-pr.outputs.pull-request-operation == 'created'
# - name: Approve pull request (II)
# run: gh pr review ${{ steps.create-pr.outputs.pull-request-number }} --approve
# env:
# GITHUB_TOKEN: ${{ secrets.CORE_COORDINATOR_TOKEN }}
# if: steps.create-pr.outputs.pull-request-operation == 'created'

# - name: Enable automerge
# uses: peter-evans/enable-pull-request-automerge@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ defaults:


jobs:
pip_tests:
uses: ./.github/workflows/tests.yml
secrets: inherit
with:
pip_git: true
# pip_tests:
# uses: ./.github/workflows/tests.yml
# secrets: inherit
# with:
# pip_git: true
zenodo:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
path: .zenodo.json

create:
needs: [pip_tests, zenodo]
needs: [zenodo]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 93e818f

Please sign in to comment.