We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1e274 commit 7b62858Copy full SHA for 7b62858
.github/workflows/mr.yml
@@ -20,7 +20,9 @@ jobs:
20
# Steps represent a sequence of tasks that will be executed as part of the job
21
steps:
22
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
24
+ with:
25
+ ref: ${{ github.event.pull_request.head.sha }}
26
27
# Runs a set of commands using the runners shell
28
- name: MR INFO
@@ -43,4 +45,5 @@ jobs:
43
45
export TENCENTCLOUD_SECRET_ID_COMMON=${{ secrets.TENCENTCLOUD_SECRET_ID }}
44
46
export TENCENTCLOUD_SECRET_KEY_SUB_ACCOUNT=${{ secrets.TENCENTCLOUD_SECRET_KEY_SUB_ACCOUNT }}
47
export TENCENTCLOUD_SECRET_ID_SUB_ACCOUNT=${{ secrets.TENCENTCLOUD_SECRET_ID_SUB_ACCOUNT }}
48
+ env
49
sh .githooks/pre-commit
0 commit comments