Skip to content

Commit

Permalink
👷‍ Executes CI also Pull Request
Browse files Browse the repository at this point in the history
Today the trigger is only "on push", which is not good when external
contributors tries to submit PRs. Updating to also trigger "on pull
request" and only whe pushing to main.
This configuration is based on the Accompanist one.
  • Loading branch information
igorescodro committed Nov 11, 2022
1 parent afa393b commit 5f88030
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/android_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: instrumented tests

on: [ push, pull_request ]
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: build

on: [ push, pull_request ]
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit 5f88030

Please sign in to comment.