Skip to content

Commit

Permalink
docs: add note about token permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Jan 14, 2023
1 parent d5a763e commit 2d0d57b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2020 Christoph Witzko
Copyright (c) 2023 Christoph Witzko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ The official go-semantic-release GitHub Action.
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:

```yaml
# If a 403 error occurs, make sure to set content permission to write
# see: https://github.com/go-semantic-release/action/issues/27
#permissions:
# contents: write

steps:
- uses: actions/checkout@master
- uses: go-semantic-release/action@v1
Expand Down Expand Up @@ -44,6 +49,11 @@ on:
branches:
- '**'

# If a 403 error occurs, make sure to set content permission to write
# see: https://github.com/go-semantic-release/action/issues/27
#permissions:
# contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -83,4 +93,4 @@ jobs:

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

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

0 comments on commit 2d0d57b

Please sign in to comment.