Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/canister-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Canister tests

on:
push:
pull_request:
Comment thread
aterga marked this conversation as resolved.

jobs:
#####################
Expand Down Expand Up @@ -692,6 +693,7 @@ jobs:
# This prepares all the files necessary for a release (all flavors of Wasm, release notes).
# On release tags, a new release is created and the assets are uploaded.
release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
needs:
[
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/frontend-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Frontend checks and lints

on:
push:
pull_request:

Comment thread
aterga marked this conversation as resolved.
jobs:
frontend-checks:
Expand All @@ -10,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
with:
# set a PAT so that add-and-commit can trigger CI runs
token: ${{ secrets.GIX_BOT_PAT }}
token: ${{ secrets.GIX_BOT_PAT || github.token }}
Comment thread
aterga marked this conversation as resolved.
- uses: ./.github/actions/setup-node
- run: npm ci
- name: Run tsc
Expand All @@ -37,8 +38,9 @@ jobs:
done < <(jq <src/frontend/src/flows/dappsExplorer/dapps.json -cMr '.[] | .logo' )
- name: Commit type interfaces
uses: EndBug/add-and-commit@v9
# We don't want to commit automatic changes to main
if: ${{ github.ref != 'refs/heads/main' }}
# We don't want to commit automatic changes to main, and we can't
# push to fork PRs (read-only token).
if: ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' }}
with:
add: |
src/frontend/generated
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Rust

on:
push:
pull_request:

Comment thread
aterga marked this conversation as resolved.
jobs:
cargo-fmt:
Expand All @@ -12,7 +13,7 @@ jobs:
with:
# set a PAT so that add-and-commit can trigger
# CI runs
token: ${{ secrets.GIX_BOT_PAT }}
token: ${{ secrets.GIX_BOT_PAT || github.token }}
- uses: ./.github/actions/bootstrap

- name: Cargo fmt
Expand All @@ -28,8 +29,9 @@ jobs:

- name: Commit Formatting changes
uses: EndBug/add-and-commit@v9
# We don't want to commit formatting changes to main
if: ${{ github.ref != 'refs/heads/main' }}
# We don't want to commit formatting changes to main, and we can't
# push to fork PRs (read-only token).
if: ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' }}
with:
add: "**/*.rs"
default_author: github_actions
Expand Down
Loading