Skip to content

Commit cf9685f

Browse files
authored
Merge pull request #143 from Flashky/feature/139-update-docs-to-remove-permissions-section
docs: remove permissions setup from README.md #139
2 parents b46eb15 + 0cf326a commit cf9685f

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This guide will help you quickly configure a new repository from this template f
1616
2. Click **Use this template** and then **Create a new repository**.
1717
3. Name the new repository (e.g., `advent-of-code-202X`).
1818

19-
### 🔑 2. Token and Secret Configuration
19+
### 🔑 2. Tokens and Secrets Configuration
2020

2121
You need to set up two tokens: the **GitHub** token (`PAT_TOKEN`) and the **Codacy** token (`CODACY_PROJECT_TOKEN`).
2222

@@ -47,17 +47,12 @@ Required to send code coverage reports.
4747

4848
> 💡 **Note:** Setting the secret for Dependabot is crucial to prevent automated Pull Requests from failing the coverage report job.
4949
50-
### 📅 3. Year Update and Permissions
50+
### 📅 3. Year Update
5151

52-
1. **Configure Workflow Permissions:**
53-
* Go to **Settings / Actions / General**.
54-
* Under **Workflow permissions**, enable:
55-
* **Read and write permissions**.
56-
* **Allow GitHub Actions to create and approve pull requests**.
57-
2. **Run "Update year" Workflow:**
52+
1. **Run "Update year" Workflow:**
5853
* Go to the **Actions** tab and open the **Update year** workflow.
5954
* Click **Run workflow**, type the **year** in `yyyy` format (e.g., `2025`), and **Run workflow**.
60-
3. **Merge the Pull Request:**
55+
2. **Merge the Pull Request:**
6156
* The workflow will automatically create a Pull Request.
6257
* **Open it**, verify the year changes are correct, and **merge** it.
6358

0 commit comments

Comments
 (0)