Skip to content

A local-first personal finance app

Add ACTIONS_UPDATE_TOKEN to GitHub Actions workflows (#6530)

Matiss Janis Aboltins64aa88aa22e9
diff --git a/.github/workflows/generate-release-pr.yml b/.github/workflows/generate-release-pr.yml
index 3fc227e412..30c39497a3 100644
--- a/.github/workflows/generate-release-pr.yml
+++ b/.github/workflows/generate-release-pr.yml
@@ -50,6 +50,7 @@ jobs:
- name: Create PR
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
+ token: ${{ secrets.ACTIONS_UPDATE_TOKEN }}
commit-message: 'πŸ”– (${{ steps.bump_package_versions.outputs.version }})'
title: 'πŸ”– (${{ steps.bump_package_versions.outputs.version }})'
body: 'Generated by [generate-release-pr.yml](../tree/master/.github/workflows/generate-release-pr.yml)'
diff --git a/packages/docs/docs/contributing/releasing.md b/packages/docs/docs/contributing/releasing.md
index d466fcf193..67e537f1e0 100644
--- a/packages/docs/docs/contributing/releasing.md
+++ b/packages/docs/docs/contributing/releasing.md
@@ -27,10 +27,6 @@ For example:
- [ ] Run [this GitHub Action](https://github.com/actualbudget/actual/actions/workflows/generate-release-pr.yml) to generate a release PR (for a regular monthly release, leave the arguments set to their default values).
- [ ] Open the generated PR and ensure the release notes workflow has started to collate the release notes into a comment in the PR. You may need to push an empty commit in order to trigger CI.
-
-### Docs
-
-- [ ] Open the release PR `release/vYY.MM.xx`
- [ ] After the release notes workflows in the PR has been run, copy the collated notes into a new blog post using a previous release as a template. The release notes will also need adding to the `docs/releases.md` file.
- [ ] Fix spelling as needed.
diff --git a/upcoming-release-notes/6530.md b/upcoming-release-notes/6530.md
new file mode 100644
index 0000000000..be19f205ad
--- /dev/null
+++ b/upcoming-release-notes/6530.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+Add token-based authentication to GitHub Actions for PR creation and release notes generation.