Skip to content

Commit

Permalink
fix: trilom/file-changes-action bug
Browse files Browse the repository at this point in the history
This action fails on first commit for push events.

Apply some of proposals seen in their issue thread: trilom/file-changes-action#116
  • Loading branch information
davorpa committed Jan 15, 2022
1 parent f36fd03 commit 1cc1755
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
name: Check URLs from changed files
on: [push, pull_request]

on:
push:
branches:
# Push events our default branch
# - master
- main
# Push events our auxiliar branches
- docs
- gh-pages
# Push events to branches matching refs/heads/fpb/...
- 'fpb/**'
# Push events to branches matching refs/heads/[username]/...
# - ${{ github.actor }}/** # placeholders doesn't work yet
- 'eshellman/**'
- 'davorpa/**'
pull_request:

jobs:
job:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1cc1755

Please sign in to comment.