Skip to content

Commit

Permalink
ci: renames workflows and adds trigger condition for release
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefmaru committed Jul 18, 2024
1 parent 4eab379 commit 6b35f57
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Run check in dev

on:
pull_request:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: CI
name: Run checks in main and release

on:
pull_request:
branches:
- '*release*'
- main


jobs:
linters:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag_and_publish_dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tag and Publish - dev branch
name: Publish - dev
on:
push:
branches:
Expand All @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Pull latest changes
run: git pull origin main
run: git pull origin dev
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tag and Publish
name: Tag and Publish - main
on:
push:
branches:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
add: '["*.rst"]'

tag:
needs: changelog
needs: update_docs
uses: AllenNeuralDynamics/aind-github-actions/.github/workflows/tag.yml@main
secrets:
SERVICE_TOKEN: ${{ secrets.SERVICE_TOKEN }} # required
Expand Down

0 comments on commit 6b35f57

Please sign in to comment.