Skip to content

Commit

Permalink
Run CI on main branch instead of master (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbuc committed Apr 5, 2024
1 parent b613b68 commit 6e59b35
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cargo-doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: API Docs
on:
push:
branches:
- master
- main
paths:
- .github/workflows/cargo-doc.yml
- Cargo.toml
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
args: --all-features

- name: Push API documentation to GitHub Pages
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.IBC_RS_DOC_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/guide-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- guide/src/templates/**

push:
branches: master
branches: main
paths:
- .github/workflows/guide-templates.yaml
- crates/relayer-cli/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- crates/**
- tools/**
push:
branches: master
branches: main
paths:
- .github/workflows/integration.yaml
- Cargo.toml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/multi-chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- crates/**
- tools/**
push:
branches: master
branches: main
paths:
- .github/workflows/multi-chains.yaml
- Cargo.toml
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
multi-chains-test:
runs-on: ubuntu-20.04
if: |
github.ref == 'refs/heads/master' || (
github.ref == 'refs/heads/main' || (
(github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize') &&
contains(github.event.pull_request.labels.*.name, 'CI: multi-chains')
) || (
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
paths:
- scripts/**
push:
branches: master
branches: main
paths:
- scripts/**

Expand Down

0 comments on commit 6e59b35

Please sign in to comment.