File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Set Pipeline Library Branch
2+ # This workflow is triggered on pushes to the master branch of the repository.
3+ on :
4+ push :
5+
6+ jobs :
7+ update_pipeline_lib_branch :
8+ name : Update Pipeline Library Branch
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ with :
13+ ref : ${{ github.head_ref }}
14+ - uses : daos-stack/update-pipeline-lib-action@v1
15+ - uses : stefanzweifel/git-auto-commit-action@v4
16+ with :
17+ commit_message : Update Pipeline library branch
18+ commit_options : ' --signoff'
19+ id : update_pipeline_lib_branch
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1616// Then a second PR submitted to comment out the @Library line, and when it
1717// is landed, both PR branches can be deleted.
1818
19- // @Library(value="pipeline-lib@my_pr_branch") _
19+ // @Library(value="trusted- pipeline-lib@my_pr_branch") _
2020
2121pipeline {
2222 agent { label ' lightweight' }
You can’t perform that action at this time.
0 commit comments