-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on version bump: Resource not accessible by integration #42
Comments
I am getting this same issue, although I'm using a shared workflow. I've outlined the shared workflow as well as how I'm calling it, and the subsequent logs. Note that calling the validate action from a shared workflow does show proper version detection, and it looks to be failing only when trying to actually create the tag. Shared workflowname: Bump SemVer Tags
on:
workflow_call:
inputs:
include-v-prefix:
description: "Include V prefix on published version"
default: true
required: false
type: boolean
jobs:
bump-tag-version:
name: Bump and tag version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.bump.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Validate PR metadata
uses: jefflinse/pr-semver-bump@v1.6.0
id: bump
with:
mode: bump
repo-token: ${{ secrets.GITHUB_TOKEN }}
minor-label: minor
major-label: major
patch-label: patch
with-v: ${{ inputs.include-v-prefix }} Calling Workflowname: Bump SemVer Tags
on:
push:
branches:
- main
jobs:
bump-semver:
uses: imdevinc/imdevinc/.github/workflows/shared-bump-semver-tags.yaml@v1
secrets: inherit Logs
|
This was my fault, I was missing the following permissions (which are documented: permissions:
contents: write
issues: read
pull-requests: read |
I'm getting the error
unexpected error: Resource not accessible by integration
when running the version bump here.Here's the definition for the failing workflow.
The text was updated successfully, but these errors were encountered: