on: pull_request: jobs: info: runs-on: docker container: image: node:20-bookworm steps: - name: event run: | cat <<'EOF' ${{ toJSON(github.event) }} EOF actions: runs-on: self-hosted container: image: node:20-bookworm steps: - uses: actions/checkout@v4 - uses: https://code.forgejo.org/actions/setup-forgejo@v2 with: install-only: true - shell: bash run: | set -x forgejo-binary.sh ensure_user forgejo export DIR=$(mktemp -d) chown forgejo $DIR /srv if test -f forgejo/binary-url ; then su -c "actions/run.sh $(cat forgejo/binary-url) unknown_full_version v7_0" forgejo else echo "forgejo/binary-url does not exist, do nothing" fi