Merge pull request 'feat: test FORGEJO_TOKEN' (#416) from xtex/forgejo-end-to-end:forgejo-token into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/416 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
This commit is contained in:
commit
32779c4d6d
2 changed files with 18 additions and 0 deletions
|
@ -171,5 +171,9 @@ function test_actions() {
|
|||
if dpkg --compare-versions $version ge 9.0; then
|
||||
run actions_verify_example schedule-noncancel
|
||||
fi
|
||||
|
||||
if dpkg --compare-versions $version ge 10.0 && dpkg --compare-versions $runner_version gt 5.0.4; then
|
||||
run actions_verify_example branding-v10
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
|
14
actions/example-branding-v10/.forgejo/workflows/test.yml
Normal file
14
actions/example-branding-v10/.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: code.forgejo.org/oci/node:20-bookworm
|
||||
steps:
|
||||
- name: FORGEJO_TOKEN
|
||||
run: |
|
||||
set -x
|
||||
test "$FORGEJO_TOKEN"
|
||||
test "$FORGEJO_TOKEN" = "${{ env.FORGEJO_TOKEN }}"
|
||||
test "$FORGEJO_TOKEN" = "${{ github.TOKEN }}"
|
Loading…
Add table
Reference in a new issue