mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-22 06:45:03 +01:00
- issue-1195: compare env.variable against github.repository_owner instead of hardcoded 'actions-oss' - pull-request: add missing "number" field to event.json to prevent %!f(<nil>) in github.ref Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
273 B
YAML
14 lines
273 B
YAML
on: push
|
|
|
|
env:
|
|
variable: "${{ github.repository_owner }}"
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: print env.variable
|
|
run: |
|
|
echo ${{ env.variable }}
|
|
exit ${{ (env.variable == github.repository_owner) && '0' || '1'}}
|