Skip to content

Commit

Permalink
Merge pull request #4 from astropy/workflow_repo_trigger
Browse files Browse the repository at this point in the history
CI: Add repo trigger
  • Loading branch information
jeffjennings authored Aug 15, 2024
2 parents 4f4e1fd + 7c717fe commit f081c72
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
docs-build:
name: Build docs
runs-on: ubuntu-latest
if: (github.repository == 'astropy/repo_stats')

steps:
- name: Check out repo
Expand Down Expand Up @@ -55,8 +56,9 @@ jobs:
docs-deploy:
name: Deploy docs
needs: docs-build
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
if: (github.repository == 'astropy/repo_stats')
# if: github.event.pull_request.merged == true
permissions:
contents: write

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-20.04
if: (github.repository == 'astropy/repo_stats')

steps:
- name: Check out repo
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
test:
name: Run tests
runs-on: ubuntu-latest
if: (github.repository == 'astropy/repo_stats')

strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: (github.repository == 'astropy/repo_stats')
permissions:
contents: write

Expand Down

0 comments on commit f081c72

Please sign in to comment.