Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/example.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Git Diff example

on:
push:
pull_request:
branches:
- example-*
- master

jobs:
check_diff:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
```

> [!WARNING]
> At this moment the action does not support branches with `/` in the name. For example, `feature/branch` will not work.
> At this moment it only works with the `pull_request` event. It uses the `GITHUB_BASE_REF` environment variable to get the base branch of the PR and this environment variable is only available in the `pull_request` event.