diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index e9f4eb76..87b740ad 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -147,7 +147,7 @@ jobs: path: ~/.cache/pip key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }} - name: Install flake8 - run: pip install -r .flake8_requirements + run: pip install -r .flake8_requirements - name: Flake8 run: echo '${{ needs.setup.outputs.repository-list }}' | xargs -d '\n' flake8 --output-file pylint_report.txt --tee - uses: actions/upload-artifact@v3 diff --git a/.github/workflows/slash.yaml b/.github/workflows/slash.yaml index 168762d0..89272c97 100644 --- a/.github/workflows/slash.yaml +++ b/.github/workflows/slash.yaml @@ -7,7 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Slash Command Dispatch - if: github.repository_owner == 'peterjc' + # workaround for checking availablity of secret https://github.com/actions/runner/issues/520 + env: + PAT: ${{ secrets.PAT }} + if: github.repository_owner == 'peterjc' and env.PAT != '' uses: peter-evans/slash-command-dispatch@v3 with: token: ${{ secrets.PAT }}