Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/update_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,25 @@ jobs:
delete-branch: true # delete afer merge
title: Update refs to version number post-release
body: automated change, replaces references to the old version number with the new version number upon releases. This PR will need to be closed and reopened to run CI testing.

- name: Generate GitHub App Token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.PPP_REBUILD_APP_ID }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you can, I'd say either rename PPP here to fre or fre-cli OR add that adjustment to the to-do and link it in this issue: NOAA-GFDL/HPC-ME#22

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit or required?

private-key: ${{ secrets.PPP_REBUILD_SECRET }}
owner: NOAA-GFDL
repositories: |
HPC-ME

- name: Dispatch release event to HPC-ME
if: ${{ steps.get_tag.outputs.tag != '' }}
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ steps.app-token.outputs.token }}
repository: NOAA-GFDL/HPC-ME
event-type: fre-cli-release
client-payload: |
{
"tag": "${{ steps.get_tag.outputs.tag }}"
}
Loading