chore: add debug workflow to inspect forgejo context variables
This commit is contained in:
parent
e6012e11c0
commit
015602de60
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/debug-context.yml
Normal file
21
.forgejo/workflows/debug-context.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Debug Forgejo Context
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '* * * * *'
|
||||
|
||||
jobs:
|
||||
debug:
|
||||
name: Dump context variables
|
||||
runs-on: stackit-ubuntu-22
|
||||
steps:
|
||||
- name: Print forgejo context
|
||||
shell: bash
|
||||
run: |
|
||||
echo "forgejo.repository = '${{ forgejo.repository }}'"
|
||||
echo "forgejo.repository_owner = '${{ forgejo.repository_owner }}'"
|
||||
echo "forgejo.ref_name = '${{ forgejo.ref_name }}'"
|
||||
echo "forgejo.ref = '${{ forgejo.ref }}'"
|
||||
echo "GITHUB_REPOSITORY = '$GITHUB_REPOSITORY'"
|
||||
echo "GITHUB_REF_NAME = '$GITHUB_REF_NAME'"
|
||||
Loading…
Add table
Add a link
Reference in a new issue