File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3030
3131 # Steps represent a sequence of tasks that will be executed as part of the job
3232 steps :
33- - uses : actions/github-script@v3
33+ - uses : actions/github-script@v6
3434 id : fetch-branch-names
3535 name : Fetch branch names
3636 with :
9494 console.log('Combined: ' + combined);
9595 return combined
9696 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
97- - uses : actions/checkout@v2.3.3
97+ - uses : actions/checkout@v3
9898 with :
9999 fetch-depth : 0
100100 # Creates a branch with other PR branches merged together
@@ -120,7 +120,7 @@ jobs:
120120 git pull origin $sourcebranches --no-edit
121121 git push origin $COMBINE_BRANCH_NAME
122122 # Creates a PR with the new combined branch
123- - uses : actions/github-script@v3
123+ - uses : actions/github-script@v6
124124 name : Create Combined Pull Request
125125 env :
126126 PRS_STRING : ${{ steps.fetch-branch-names.outputs.prs-string }}
@@ -129,7 +129,7 @@ jobs:
129129 script : |
130130 const prString = process.env.PRS_STRING;
131131 const body = 'This PR was created by the Combine PRs action by combining the following PRs:\n' + prString;
132- await github.pulls.create({
132+ await github.rest. pulls.create({
133133 owner: context.repo.owner,
134134 repo: context.repo.repo,
135135 title: 'Combined PR',
You can’t perform that action at this time.
0 commit comments