Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(github-actions): modify triggering conditions for workflows #420

Merged
merged 1 commit into from
Feb 9, 2024
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
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Test
on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

jobs:
release:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Test Docs
on: [push, pull_request]

on:
pull_request:
push:
branches:
- master
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The branch for push events is set to 'master' here, while in 'test.yml' it's set to 'main'. Please ensure consistency across workflow files.

jobs:
release:
runs-on: ubuntu-latest
Expand Down
Loading