2023-11-12 22:35:14 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
env:
|
|
|
|
runs-on: docker
|
|
|
|
container:
|
|
|
|
image: debian:bookworm
|
|
|
|
steps:
|
|
|
|
- run: env
|
2023-11-26 17:32:50 +01:00
|
|
|
- run: cat $GITHUB_EVENT_PATH
|
2023-12-19 03:26:42 +01:00
|
|
|
- name: Get token info
|
|
|
|
run: |
|
|
|
|
apt update; apt install -y curl jq
|
2023-12-19 03:28:15 +01:00
|
|
|
curl -vL --oauth2-bearer "${GITHUB_TOKEN}" "${GITHUB_SERVER_URL}/login/oauth/userinfo" | jq
|
2023-11-12 22:35:14 +01:00
|
|
|
|