2626 COVERAGE_SUMMARY_INPUT_FILE : ' ./test/input-files/coverage-summary.md'
2727 TRUNCATE_SUMMARY_INPUT_FILE : ' ./test/input-files/truncate.md'
2828
29+ permissions :
30+ contents : write
31+ pull-requests : write
32+
2933jobs :
3034 build-and-review-pr :
3135 # This reusable workflow will check to see if an action's source code has changed based on
3943 # This workflow assumes:
4044 # - The main README.md is at the root of the repo
4145 # - The README contains a contribution guidelines and usage examples section
42- uses : im-open/.github/.github/workflows/reusable-build-and-review-pr.yml@v1
46+ uses : im-open/.github/.github/workflows/reusable-build-and-review-pr.yml@v2
4347 with :
4448 action-name : ${{ github.repository }}
4549 default-branch : main
8286 run : echo ""
8387
8488 - name : Setup - Checkout the action
85- uses : actions/checkout@v4
89+ uses : actions/checkout@v7
8690
8791 - name : ' -------------------------------------------------------------------------------------------------------------'
8892 run : echo ""
@@ -493,7 +497,7 @@ jobs:
493497 fi
494498
495499 - name : Setup - Checkout the action
496- uses : actions/checkout@v4
500+ uses : actions/checkout@v7
497501
498502 - name : ' -------------------------------------------------------------------------------------------------------------'
499503 run : echo ""
@@ -529,7 +533,7 @@ jobs:
529533
530534 - name : 10e - And the status check should match the inputs
531535 if : always()
532- uses : actions/github-script@v7
536+ uses : actions/github-script@v9
533537 with :
534538 script : |
535539 const fs = require('fs');
@@ -583,7 +587,7 @@ jobs:
583587
584588 - name : 11e - And the status check should match the inputs
585589 if : always()
586- uses : actions/github-script@v7
590+ uses : actions/github-script@v9
587591 with :
588592 script : |
589593 const fs = require('fs');
@@ -637,7 +641,7 @@ jobs:
637641
638642 - name : 12e - And the status check should match the inputs
639643 if : always()
640- uses : actions/github-script@v7
644+ uses : actions/github-script@v9
641645 with :
642646 script : |
643647 const fs = require('fs');
@@ -691,7 +695,7 @@ jobs:
691695
692696 - name : 13e - And the status check should match the inputs
693697 if : always()
694- uses : actions/github-script@v7
698+ uses : actions/github-script@v9
695699 with :
696700 script : |
697701 const fs = require('fs');
@@ -718,7 +722,7 @@ jobs:
718722
719723 - name : Teardown - Modify failing Status Check conclusion
720724 if : always()
721- uses : actions/github-script@v7
725+ uses : actions/github-script@v9
722726 with :
723727 script : |
724728 const fs = require('fs');
@@ -760,19 +764,19 @@ jobs:
760764 fi
761765
762766 - name : Setup - Checkout the action
763- uses : actions/checkout@v4
767+ uses : actions/checkout@v7
764768
765769 - name : Setup - Delete pre-existing process-code-coverage-summary PR Comments
766770 if : always()
767- uses : actions/github-script@v7
771+ uses : actions/github-script@v9
768772 with :
769773 script : |
770774 const deletePrComments = require('./test/delete-pre-existing-comments.js');
771775 await deletePrComments(github, context, core);
772776
773777 - name : Setup - Create a process-code-coverage-summary comment that can be updated
774778 if : always()
775- uses : actions/github-script@v7
779+ uses : actions/github-script@v9
776780 with :
777781 script : |
778782 await github.rest.issues.createComment({
@@ -825,7 +829,7 @@ jobs:
825829
826830 - name : 14e - And the pr-comment should match the match the expected values
827831 if : always()
828- uses : actions/github-script@v7
832+ uses : actions/github-script@v9
829833 with :
830834 script : |
831835 const fs = require('fs');
@@ -881,7 +885,7 @@ jobs:
881885
882886 - name : 15e - And the pr-comment should match the expected values
883887 if : always()
884- uses : actions/github-script@v7
888+ uses : actions/github-script@v9
885889 with :
886890 script : |
887891 const fs = require('fs');
@@ -937,7 +941,7 @@ jobs:
937941
938942 - name : 16e - And the pr-comment should match the expected values
939943 if : always()
940- uses : actions/github-script@v7
944+ uses : actions/github-script@v9
941945 with :
942946 script : |
943947 const fs = require('fs');
@@ -993,7 +997,7 @@ jobs:
993997
994998 - name : 17e - And the pr-comment should match the expected values
995999 if : always()
996- uses : actions/github-script@v7
1000+ uses : actions/github-script@v9
9971001 with :
9981002 script : |
9991003 const fs = require('fs');
@@ -1024,7 +1028,7 @@ jobs:
10241028
10251029 - name : Teardown - Delete PR Comments
10261030 if : always()
1027- uses : actions/github-script@v7
1031+ uses : actions/github-script@v9
10281032 with :
10291033 script : |
10301034 const fs = require('fs');
0 commit comments