Closed dherbst closed 3 years ago
if a fork has master and staging branches, it will try to run the actions as well. We can stop this by putting if: ${{ github.repository_owner == 'CodeForPhilly' }} into the actions like this:
if: ${{ github.repository_owner == 'CodeForPhilly' }}
jobs: deploy: name: Deploy airflow runs-on: ubuntu-18.04 steps: - name: Create SSH key if: ${{ github.repository_owner == 'CodeForPhilly' }} run: | mkdir -p ~/.ssh/
So then the forks will not use up their actions quota on master and staging merges.
Fixed.
if a fork has master and staging branches, it will try to run the actions as well. We can stop this by putting
if: ${{ github.repository_owner == 'CodeForPhilly' }}
into the actions like this:So then the forks will not use up their actions quota on master and staging merges.