Skip to content

Commit

Permalink
ci: Move get PR number after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Sep 17, 2024
1 parent a524b74 commit a1d1037
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/validate-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ jobs:
name: Validate module descriptor
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get Pull Request Number
id: pr_number
run: echo "pull_request_number=$(gh pr view --json number -q .number || echo "")" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup java
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit a1d1037

Please sign in to comment.