Skip to content

Commit f0eaba6

Browse files
author
Joel Lefkowitz
committed
Use working-directory instead of checkout
1 parent 1092d5a commit f0eaba6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# action.yml
21
name: "Wait on check"
32
author: "lewagon"
43
description: "Wait on a certain check to pass for commit"
@@ -46,18 +45,17 @@ inputs:
4645
runs:
4746
using: "composite"
4847
steps:
49-
- name: Checkout the source code
50-
uses: actions/checkout@v4
51-
5248
- name: Set the ruby version
5349
uses: ruby/setup-ruby@v1
5450
with:
5551
ruby-version: 3.2
5652
bundler-cache: true
53+
working-directory: ${{ github.action_path }}
5754
env:
5855
BUNDLE_PATH: "vendor/bundle"
5956

6057
- run: bundle exec entrypoint.rb
58+
working-directory: ${{ github.action_path }}
6159
shell: bash
6260
env:
6361
ALLOWED_CONCLUSIONS: ${{ inputs.allowed-conclusions }}

0 commit comments

Comments
 (0)