Skip to content

Commit

Permalink
docs: update GH Action snippet: on.pull_request conditions (#28)
Browse files Browse the repository at this point in the history
## 🧰 Changes

Sync latest changes from the GH action snippet in the Micro webapp.

## 🧬 QA & Testing

- This workflow has already been tested to work.
- Confirm this snippet matches the one used during Micro onboarding.
  • Loading branch information
cvan authored Sep 18, 2023
1 parent 3e96274 commit 2fae33e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ name: ReadMe Micro
# Run workflow to sync OpenAPI files for every push to the `main` branch
on:
push:
branches:
- main
branches: [main]
pull_request:
types: [opened, synchronize]
branches: [main]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v3

# Run GitHub Action to sync all OpenAPI files in the repo
- name: GitHub Action
uses: readmeio/[email protected]
with:
Expand Down

0 comments on commit 2fae33e

Please sign in to comment.