Skip to content

Commit

Permalink
🔄 synced file(s) with neurobagel/workflows (#354)
Browse files Browse the repository at this point in the history
* 🔄 synced local '.github/workflows/' with remote 'template_workflows/project_automation/'

* 🔄 synced local '.github/workflows/build_docker_on_release.yml' with remote 'template_workflows/auto_release/build_docker_on_release.yml'

* 🔄 synced local '.github/workflows/build_docker_nightly.yml' with remote 'template_workflows/build_docker_nightly.yml'

---------

Co-authored-by: neurobagel-bot[bot] <176077434+neurobagel-bot[bot]@users.noreply.github.com>
  • Loading branch information
neurobagel-bot[bot] authored Nov 12, 2024
1 parent 5874d7b commit bb69d21
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/add_iss2project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.NB_BOT_ID }}
private-key: ${{ secrets.NB_BOT_KEY }}

- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/neurobagel/projects/1
github-token: ${{ secrets.NB_PROJECT_PAT }}
github-token: ${{ steps.generate-token.outputs.token }}
3 changes: 3 additions & 0 deletions .github/workflows/build_docker_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
# Some repos have submodules that need to be part of the Docker image
with:
submodules: recursive

- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_docker_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
-
name: Checkout
uses: actions/checkout@v4
# Some repos have submodules that need to be part of the Docker image
with:
submodules: recursive
-
# The release event is a superset of the push tag event,
# so we expect two tags to be generated by docker/metadata-action
Expand Down

0 comments on commit bb69d21

Please sign in to comment.