Skip to content

Why is my workflow being skipped? #130136

Answered by joshjohanning
DrAugus asked this question in Actions
Discussion options

You must be logged in to vote

Ahh so your workflow is being triggered with the conditions you have.

But the job didn't run because you have this later on:

jobs:
  deploy-game:
    strategy:
      matrix:
        os: [ubuntu-latest] # macos-latest, windows-latest
        node: [16]
        deploy-dir: [game/.vitepress/dist]
        deploy-user: [augusmeow]
        deploy-repo: [game]

    runs-on: ${{ matrix.os }}

    # only me, deploy
    if: github.actor == 'DrAugus'. # <------ THIS LINE

In this case, the renovate bot was the actor, so the job didn't run. You would probably have to do something like

    if: github.actor == 'DrAugus' || github.actor == 'renovate[bot]'

I'm guessing on the renovate[bot] bit, but you ca…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@DrAugus
Comment options

@joshjohanning
Comment options

Answer selected by DrAugus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
2 participants