When using job description from the README:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: butlerlogic/action-autotag@stable
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
I've got "Resource not accessible" error in action logs:

To solve this problem, permissions section should be added tot he job's declaration:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: butlerlogic/action-autotag@stable
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
When using job description from the README:
I've got "Resource not accessible" error in action logs:
To solve this problem,
permissionssection should be added tot he job's declaration: