Skip to content

Commit

Permalink
Remove unnecessary checkout step (#3462)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubhy authored Aug 16, 2024
1 parent 6209c85 commit 6dff3f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ jobs:
- name: Checkout default branch
uses: actions/checkout@v4

- name: Checkout pull request branch
run: gh pr checkout ${{ github.event.pull_request.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get current branch name
id: branch
run: echo "branch=$(git branch --show-current)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 6dff3f3

Please sign in to comment.