on: [push, pull_request] or on: push: pull_request: types: [closed,assigned,opened,reopened] on: schedule: - cron: "* * * * *" on: push: branches: - master - 'feature/*' #matches feature/kfeatq but not feature/gjg/a - 'feature/**' #matches feature/gjg/a also - feature/feat[ABC] #feature/featA or featB or featC - '!feature/featC' #ignores branch feature/featC, should write after above inclusions. braches-ignore: - can't keep both this and branches at the same time tags: - v1.* tags-ignore: - v1.* paths: - '**.js' #runs only of if js files updated paths-ignore: - 'docs/**' - "!filename.js"
Thursday, November 4, 2021
Different triggers(push,pull_request),schedule with particular time,trigger filters based on branch name or pattern/tags/file paths
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment