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

Pushes are checked multiple times if they have tags #2

Open
jsoref opened this issue Mar 5, 2020 · 0 comments
Open

Pushes are checked multiple times if they have tags #2

jsoref opened this issue Mar 5, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@jsoref
Copy link
Member

jsoref commented Mar 5, 2020

Scenario

If you have the following in your yaml:

name: Spell checking

on: [push]

Step

You push a commit that is both the tip of a branch and tagged

Results

Your check will run twice.

Recommended best practice

name: Spell checking

on:
  push:
    branches:
      - "*"
    tags-ignore:
      - "*"
@jsoref jsoref added the documentation Improvements or additions to documentation label Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant