Test author variables
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
This commit is contained in:
@ -17,3 +17,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
ls ${{ gitea.workspace }}
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
- name: commits[0] author name
|
||||||
|
run: echo "${{ github.event.commits[0].author.name }}"
|
||||||
|
- name: commits[0] author email
|
||||||
|
run: echo "${{ github.event.commits[0].author.email }}"
|
||||||
|
- name: head user login
|
||||||
|
run: echo "${{ github.event.head.user.login }}"
|
||||||
|
Reference in New Issue
Block a user