Skip to content

Commit adbe512

Browse files
Hopefully make changelog secret work (Monkestation#3605)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> ## About The Pull Request <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> ## Why It's Good For The Game <!-- Argue for the merits of your changes and how they benefit the game, especially if they are controversial and/or far reaching. If you can't actually explain WHY what you are doing will improve the game, then it probably isn't good for the game in the first place. --> ## Changelog <!-- If your PR modifies aspects of the game that can be concretely observed by players or admins you should add a changelog. If your change does NOT meet this description, remove this section. Please note that maintainers freely reserve the right to remove and add tags should they deem it appropriate. You can attempt to finagle the system all you want, but it's best to shoot for clear communication right off the bat. --> <!-- Both 🆑's are required for the changelog to work! You can put your name to the right of the first 🆑 if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. --> ## Pre-Merge Checklist <!-- Don't bother filling these in while creating your Pull Request, just click the checkboxes after the Pull Request is opened and you are redirected to the page. --> - [ ] You tested this on a local server. - [ ] This code did not runtime during testing. - [ ] You documented all of your changes. <!-- Neither the compiler nor workflow checks are perfect at detecting runtimes and errors. It is important to test your code/feature/fix locally. -->
1 parent d617501 commit adbe512

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/compile_changelog.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ jobs:
1818
ENABLER_SECRET: ${{ secrets.ACTION_ENABLER }}
1919
run: |
2020
unset SECRET_EXISTS
21-
if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS='true' ; fi
22-
echo ::set-output name=ACTIONS_ENABLED::${SECRET_EXISTS}
21+
if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi
22+
echo "ACTIONS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT
2323
2424
- name: "Setup python"
25-
uses: actions/setup-python@v5
25+
if: steps.value_holder.outputs.ACTIONS_ENABLED
26+
uses: actions/setup-python@v6
2627
with:
2728
python-version: '3.x'
2829

@@ -35,7 +36,7 @@ jobs:
3536
3637
- name: "Checkout"
3738
if: steps.value_holder.outputs.ACTIONS_ENABLED
38-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
3940
with:
4041
fetch-depth: 25
4142
persist-credentials: false
@@ -56,7 +57,7 @@ jobs:
5657
5758
- name: Generate App Token
5859
id: app-token-generation
59-
uses: actions/create-github-app-token@v1
60+
uses: actions/create-github-app-token@v2
6061
if: env.APP_PRIVATE_KEY != '' && env.APP_ID != ''
6162
with:
6263
app-id: ${{ secrets.APP_ID }}

0 commit comments

Comments
 (0)