# How to auto release using GitHub Actions as well

By [tomokisun.eth](https://paragraph.com/@tomokisun) · 2023-05-16

---

    name: Releases
    on:
      workflow_dispatch:
        inputs:
          version:
            type: string
            required: true
            
    jobs:
      release:
        name: Manual Version Up
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v3
          - uses: actions/create-release@v1
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
            with:
              tag_name: ${{ github.event.inputs.version }}
              release_name: ${{ github.event.inputs.version }}
              draft: false
              prerelease: false
    

❌ Resource not accessible by integration
========================================

The problem was solved by changing the `Settings > Actions > General > Workflow permissions` for the repository in question from `Read repository contents permission` to `Read and write permissions`

![](https://storage.googleapis.com/papyrus_images/033d5999eaca3a85c076c5b9ac8d6dedc7d6108f4172d2d1744399cb4cfdfbc0.png)

---

*Originally published on [tomokisun.eth](https://paragraph.com/@tomokisun/how-to-auto-release-using-github-actions-as-well)*
