File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,15 +89,15 @@ jobs:
8989 timeout -v 90m sudo su naemon -c 'eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) && THRUK_TEST_MODULES_CACHE=${{ env.THRUK_TEST_MODULES_CACHE }} THRUK_CRITIC_CACHE_FILE=${{ env.THRUK_CRITIC_CACHE_FILE }} HARNESS_TIMER=1 stdbuf -o0 -e0 make citest'
9090
9191 - name : remove cache
92- if : ${{ github.token != '' }} # Using cache requires owners token.
92+ if : ${{ github.event_name != 'pull_request ' }}
9393 run : |
9494 gh cache delete --all
9595 ls -la ${{ env.THRUK_TEST_MODULES_CACHE }} ${{ env.THRUK_CRITIC_CACHE_FILE }} || :
9696 env :
9797 GH_TOKEN : ${{ github.token }}
9898
9999 - name : save updated cache back
100- if : ${{ github.token != '' && github.repository == 'sni/thruk' }} # Using cache requires original repository and owners token.
100+ if : ${{ github.event_name != 'pull_request' }}
101101 id : thruk-test-cache-save
102102 uses : actions/cache/save@v5
103103 with :
You can’t perform that action at this time.
0 commit comments