mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-09 03:31:28 +00:00
Fix GitHub Actions condition: check repository owner instead of (non-working) repo name
This commit is contained in:
parent
28c5e9f11d
commit
e9eb09ed9b
5
.github/workflows/pr-validation.yml
vendored
5
.github/workflows/pr-validation.yml
vendored
@ -5,8 +5,11 @@ on:
|
||||
|
||||
jobs:
|
||||
task-check:
|
||||
# github.event.repository.name only contains 'GildedRose-Refactoring-Kata' (no owner)!
|
||||
# we could check owner and name if: github.repository == 'emilybache/GildedRose-Refactoring-Kata'
|
||||
# but checking owner is enough/better/more stable
|
||||
# Only run from the base repository
|
||||
if: github.event.repository.name == 'emilybache/GildedRose-Refactoring-Kata'
|
||||
if: github.repository_owner == 'emilybache'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
Loading…
Reference in New Issue
Block a user