Skip to content

Commit

Permalink
Change workflow trigger events
Browse files Browse the repository at this point in the history
  • Loading branch information
Serious-senpai committed Oct 3, 2024
1 parent 5e3af04 commit c618b48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- main
paths-ignore:
- "**.md"
- "app/**"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main

pull_request_target:

permissions:
contents: read

Expand All @@ -27,6 +29,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# IMPORTANT: Change settings in Actions/General to "Require approval for all outside collaborators".
# Before approving workflow from public forks, triple check the code.
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit c618b48

Please sign in to comment.