@@ -25,12 +25,12 @@ jobs:
2525 uses : carlosperate/download-file-action@v2
2626 with :
2727 file-url : https://raw.githubusercontent.com/ideas-productivity/ideas-productivity.github.io/refs/heads/main/_events/hpcbp-webinars/${{ inputs.event-file }}.md
28- location : ' Events '
28+ location : ' _events/hpcbp-webinars '
2929 file-name : ${{ inputs.event-file }}.md
3030
3131 # - name: Check the file is there
3232 # run: |
33- # ls -l Events /${{ inputs.event-file }}.md || :
33+ # ls -l _events/hpcbp-webinars /${{ inputs.event-file }}.md || :
3434
3535 - name : Create pull request
3636 id : cpr
4040 branch : ${{ github.actor }}-hpcbp-new-event
4141 branch-suffix : timestamp
4242 assignees : ${{ github.actor }}
43- commit-message : " Adding new HPC-BP webinar event from the ideas-productivity.org website"
44- body : " Adding new HPC-BP webinar event from the ideas-productivity.org website"
43+ commit-message : " Adding or updating HPC-BP webinar event from the ideas-productivity.org website"
44+ body : " Adding or updating HPC-BP webinar event from the ideas-productivity.org website"
4545 labels : |
4646 content: event
4747
@@ -51,10 +51,12 @@ jobs:
5151 echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
5252 echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
5353
54- - name : Merge PR
55- if : ${{ steps.cpr.outputs.pull-request-number }}
56- env :
57- GH_TOKEN : ${{ secrets.PR_MERGE_PAT }}
58- run : |
59- gh pr merge ${{ steps.cpr.outputs.pull-request-number }} --merge --auto --body "Automatically merging script-generated event"
54+ # Hold off on the auto-merge until we're confident that the rest is working properly
55+ # NOTE: requires special privs to merge PRs (expecting a "PR_MERGE_PAT" secret)
56+ # - name: Merge PR
57+ # if: ${{ steps.cpr.outputs.pull-request-number }}
58+ # env:
59+ # GH_TOKEN: ${{ secrets.PR_MERGE_PAT }}
60+ # run: |
61+ # gh pr merge ${{ steps.cpr.outputs.pull-request-number }} --merge --auto --body "Automatically merging script-generated event"
6062
0 commit comments