summaryrefslogtreecommitdiff
path: root/.github/workflows/cygwin.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cygwin.yml')
-rw-r--r--.github/workflows/cygwin.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index c7ea92bb40..59b70f7693 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -42,9 +42,9 @@ jobs:
run: |
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin'
# Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
- - name: Checkout ruby/ruby
+ - name: Checkout push to ruby
run: |
- git clone --single-branch --shallow-since=yesterday https://github.com/ruby/ruby src
+ git clone --single-branch --shallow-since=yesterday https://github.com/${{ github.repository }} src
git -C src reset --hard ${{ github.sha }}
if: github.event_name == 'push'
shell: cmd