Why is my workflow being skipped? #130136
-
Select Topic AreaQuestion Bodypr is here here is my name: Deploy life
on:
push:
branches:
- master
paths:
- "life/**"
- ".github/workflows/deploy-life.yml"
- "**/package.json"
- "**/pnpm-lock.yaml"
pull_request:
types: [opened, synchronize]
branches:
- master
paths:
- "life/**"
- ".github/workflows/deploy-life.yml"
- "**/package.json"
- "**/pnpm-lock.yaml" |
Beta Was this translation helpful? Give feedback.
Answered by
joshjohanning
Jun 28, 2024
Replies: 1 comment 2 replies
-
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 if: github.actor == 'DrAugus' || github.actor == 'renovate[bot]' I'm guessing on the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
DrAugus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ahh so your workflow is being triggered with the conditions you have.
But the job didn't run because you have this later on:
In this case, the
renovate
bot was the actor, so the job didn't run. You would probably have to do something likeI'm guessing on the
renovate[bot]
bit, but you ca…