-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
57 lines (53 loc) · 1.63 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
branches:
- "18.0"
permissions: write-all
env:
ENVGHT: ${{ secrets.GH_TOKEN }}
ENVGHU: ${{ github.token }}
VARAAA: ${{ vars.AAA }}
SECBBB: ${{ secrets.BBB }}
VARREPORGCCC: ${{ vars.CCC }}
jobs:
testjob:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Log
run: |
echo "repo-token: ${{secrets.GITHUB_TOKEN}}"
echo "variable org: ${{vars.AAA}}"
echo "env prg: ${{env.AAA}}"
echo "env prg: ${{env.VARAAA}}"
echo "secret org: ${{secrets.BBB}}"
echo "variable repository of orga: ${{vars.CCC}}"
#echo "ENVGHT: ${{ENVGHT}}"
#echo "ENVGHT: $ENVGHT"
echo "ENVGHU: ${{ENVGHU}}"
echo "ENVGHU: $ENVGHU"
echo "VARAAA: ${{VARAAA}}"
echo "VARAAA: $VARAAA"
echo "ENVAAA: ${{VARAAA}}"
echo "ENVAAA: $VARAAA"
echo "VARREPORGCCC: ${{VARREPORGCCC}}"
echo "VARREPORGCCC: $VARREPORGCCC"
echo "ENVGHTWITH: ${{ENVGHTWITH}}"
echo "ENVGHT: $ENVGHTWITH"
echo "ENVGHUWITH: ${{ENVGHUWITH}}"
echo "ENVGHU: $ENVGHUWITH"
echo "VARAAAWITH: ${{VARAAAWITH}}"
echo "VARAAAWITH: $VARAAAWITH"
echo "SECBBBWITH: ${{SECBBBWITH}}"
echo "SECBBBWITH: $SECBBBWITH"
# with:
# ENVGHW: $GH_TOKEN
# ENVGHTWITH: $ENVGHT
# ENVGHUWITH: $ENVGHU
# VARAAAWITH: $VARAAA
# SECBBBWITH: $SECBBB
# VARREPORGCCCWITH: $VARREPORGCCC