inputs: input-one: default: 'one' description: 'description one' runs: using: "composite" steps: - name: FORGEJO_ACTION_REPOSITORY run: | set -x test "$FORGEJO_ACTION_REPOSITORY" = root/action-for-context test "$FORGEJO_ACTION_REPOSITORY" = "${{ env.FORGEJO_ACTION_REPOSITORY }}" test "$FORGEJO_ACTION_REPOSITORY" = "${{ github.ACTION_REPOSITORY }}" test "$FORGEJO_ACTION_REPOSITORY" = "${{ forge.ACTION_REPOSITORY }}" test "$FORGEJO_ACTION_REPOSITORY" = "${{ forgejo.ACTION_REPOSITORY }}" test "$FORGEJO_ACTION_REPOSITORY" = "$GITHUB_ACTION_REPOSITORY" touch /srv/example/example-context/FORGEJO_ACTION_REPOSITORY - name: FORGEJO_ACTION_PATH shell: bash run: | set -x # prior to Forgejo runner 8.0.0 the action path is built out of the file path. # with Forgejo runner 8.0.0 and above is it a 64 character hash string # e.g. /var/run/act/actions/1b/5c1802fa47e35716c2a0977bc907049d31aef29191cba400011c0b38b52d12 [[ "$FORGEJO_ACTION_PATH" =~ action-for-context@main$ ]] || [[ "$FORGEJO_ACTION_PATH" =~ /[0-9a-f]{2}/[0-9a-f]{62}$ ]] test "$FORGEJO_ACTION_PATH" = "${{ github.ACTION_PATH }}" test "$FORGEJO_ACTION_PATH" = "${{ forge.ACTION_PATH }}" test "$FORGEJO_ACTION_PATH" = "${{ forgejo.ACTION_PATH }}" test "$FORGEJO_ACTION_PATH" = "$GITHUB_ACTION_PATH" touch /srv/example/example-context/FORGEJO_ACTION_PATH