Skip to content

Commit

Permalink
chore: use gh pr checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
ologbonowiwi committed Nov 17, 2023
1 parent 04f6f71 commit bb2ec3e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,15 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- name: Checkout PR using gh-cli
run: |
gh pr checkout ${{ github.event.number }}
# Create new file to simulate change and test it's committing/pushing
- name: Create new file
run: |
echo "test" > test.txt
# - name: Build and run Dev Container task
# uses: devcontainers/[email protected]
# with:
# imageName: graphql-benchmarks
# push: never
# runCmd: |
# bash ./setup.sh
# bash ./run_benchmarks.sh
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down

0 comments on commit bb2ec3e

Please sign in to comment.