File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 7
7
ARTIFACT_BASE_NAME : cumulus_lambda_functions
8
8
PR_NUMBER : ${{ github.event.number }}
9
9
PR_TITLE : ${{ github.event.pull_request.title }}
10
+ PAT_TOKEN : ${{ secrets.PAT_SECRET }}
10
11
jobs :
11
12
if_merged :
12
13
if : github.event.pull_request.merged == true
27
28
echo "${PR_TITLE} -- ${PR_NUMBER}"
28
29
- run : |
29
30
python3 "${GITHUB_WORKSPACE}/ci.cd/update_setup_version.py" install
30
- - name : Push files and tag
31
- uses : Amraneze/push-to-protected-branch@v1.5.0
32
- with :
33
- repository : ${{ github.repository }}
34
- branch_name : ${{ github.ref_name }}
35
- github_token : ${{ secrets.PAT_SECRET }}
36
- commit_message : ' chore: update version + change log'
37
- files_to_commit : ' setup.py,CHANGELOG.md'
38
- # - run: |
39
- # chmod +x "${GITHUB_WORKSPACE}/ci.cd/update_version_commit.sh"
40
- # "${GITHUB_WORKSPACE}/ci.cd/update_version_commit.sh"
31
+ - run : |
32
+ chmod +x "${GITHUB_WORKSPACE}/ci.cd/update_version_commit.sh"
33
+ "${GITHUB_WORKSPACE}/ci.cd/update_version_commit.sh"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ git status
3
3
git diff
4
4
current_branch=` git branch --show-current`
5
5
git add -u
6
- git config --local user.email " github-actions[bot]@users.noreply.github.com "
7
- git config --local user.name " github-actions[bot] "
6
+ git config --local user.email " wai.phyo@jpl.nasa.gov "
7
+ git config --local user.name " wphyojpl "
8
8
git commit -m ' chore: update version + change log'
9
- git push origin $current_branch
9
+ git push origin $current_branch
You can’t perform that action at this time.
0 commit comments