Skip to content

Commit 2d0d57b

Browse files
docs: add note about token permissions
1 parent d5a763e commit 2d0d57b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020 Christoph Witzko
1+
Copyright (c) 2023 Christoph Witzko
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ The official go-semantic-release GitHub Action.
99
To integrate [go-semantic-release](https://github.com/go-semantic-release/semantic-release) with your GitHub Actions pipeline, specify the name of this repository with a version tag as a step within your workflow config file:
1010

1111
```yaml
12+
# If a 403 error occurs, make sure to set content permission to write
13+
# see: https://github.com/go-semantic-release/action/issues/27
14+
#permissions:
15+
# contents: write
16+
1217
steps:
1318
- uses: actions/checkout@master
1419
- uses: go-semantic-release/action@v1
@@ -44,6 +49,11 @@ on:
4449
branches:
4550
- '**'
4651
52+
# If a 403 error occurs, make sure to set content permission to write
53+
# see: https://github.com/go-semantic-release/action/issues/27
54+
#permissions:
55+
# contents: write
56+
4757
jobs:
4858
build:
4959
runs-on: ubuntu-latest
@@ -83,4 +93,4 @@ jobs:
8393

8494
The [MIT License (MIT)](http://opensource.org/licenses/MIT)
8595

86-
Copyright © 2020 [Christoph Witzko](https://github.com/christophwitzko)
96+
Copyright © 2023 [Christoph Witzko](https://github.com/christophwitzko)

0 commit comments

Comments
 (0)