Skip to content

Commit

Permalink
Fixed status checks on protected branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoFtZ committed Mar 7, 2023
1 parent 8c4ec4e commit 2d7de1c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ on:
push:
paths-ignore:
- '.github/workflows/deploy-site.yml'
- '.github/workflows/update-copyright-year.yml'
- '.github/workflows/update-cuda-versions.yml'
- 'Docs/**'
- 'Site/**'
pull_request:
paths-ignore:
- '.github/workflows/deploy-site.yml'
- '.github/workflows/update-copyright-year.yml'
- '.github/workflows/update-cuda-versions.yml'
- 'Docs/**'
- 'Site/**'
schedule:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ on:
branches: [ master ]
paths-ignore:
- '.github/workflows/deploy-site.yml'
- '.github/workflows/update-copyright-year.yml'
- '.github/workflows/update-cuda-versions.yml'
- 'Docs/**'
- 'Site/**'
pull_request:
# The branches below must be a subset of the branches above.
branches: [ master ]
paths-ignore:
- '.github/workflows/deploy-site.yml'
- '.github/workflows/update-copyright-year.yml'
- '.github/workflows/update-cuda-versions.yml'
- 'Docs/**'
- 'Site/**'
schedule:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ jobs:
uses: actions/upload-pages-artifact@v1
##### GitHub Pages #####

all-required-checks-done:
needs:
- build
runs-on: ubuntu-latest
steps:
- run: echo "All required checks done"

deploy: # Deployment job
if: github.event_name != 'pull_request' # Skip deployment when building pull requests.
environment:
Expand Down

0 comments on commit 2d7de1c

Please sign in to comment.