Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

act not honoring on.push.paths #454

Open
jmcarbo opened this issue Dec 21, 2020 · 5 comments
Open

act not honoring on.push.paths #454

jmcarbo opened this issue Dec 21, 2020 · 5 comments
Labels
area/workflow Relating to workflow definitions kind/bug Something isn't working stale-exempt Exempt from stale

Comments

@jmcarbo
Copy link

jmcarbo commented Dec 21, 2020

  • 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 jmcarbo changed the title act not honoring op.push.paths act not honoring on.push.paths Dec 21, 2020
@github-actions
Copy link
Contributor

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

@sloansparger
Copy link

Having the same issue.

@catthehacker catthehacker added area/workflow Relating to workflow definitions kind/bug Something isn't working stale-exempt Exempt from stale and removed stale labels Aug 17, 2021
@catthehacker catthehacker reopened this Aug 17, 2021
@catthehacker
Copy link
Member

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

@kneal
Copy link

kneal commented Dec 7, 2023

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

@ChristopherHX
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow Relating to workflow definitions kind/bug Something isn't working stale-exempt Exempt from stale
Projects
None yet
Development

No branches or pull requests

5 participants