act icon indicating copy to clipboard operation
act copied to clipboard

act not honoring on.push.paths

Open jmcarbo opened this issue 4 years ago • 5 comments

  • Version of act: act version 0.2.17
  • Platform: Linux, macOS
  • The complete main.workflow file used
name: bla

on:
  push:
    paths:
      - 'docs/*'

jobs:
  bla2:
    runs-on: ubuntu-latest
    steps:
      - run: echo hello world
  • The complete command that was executed act -r

Any output from the command

[bla/bla2] 🚀 Start image=node:12.6-buster-slim [bla/bla2] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [bla/bla2] ⭐ Run echo hello world | hello world [bla/bla2] ✅ Success - echo hello world

Desired behaviour:

The second time the command is run it should no run because no changes were made to docs/* files.

jmcarbo avatar Dec 21 '20 10:12 jmcarbo

Issue is stale and will be closed in 14 days unless there is new activity

github-actions[bot] avatar Jan 21 '21 01:01 github-actions[bot]

Having the same issue.

sloansparger avatar Aug 12 '21 16:08 sloansparger

Leaving it open but I'm not sure if it's easy to implement so I won't treat it with priority

catthehacker avatar Aug 17 '21 14:08 catthehacker

Was this validated to still be an issue after the work done in #1618?

kneal avatar Dec 07 '23 18:12 kneal

Was this validated to still be an issue after the work done in #1618?

Yes, the filter is still not applied to the act cli. This code is in use in Gitea Actions.

ChristopherHX avatar Dec 07 '23 22:12 ChristopherHX