Giter Site home page Giter Site logo

Comments (2)

ImDevinC avatar ImDevinC commented on August 15, 2024

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 workflow
name: 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/[email protected]
        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 Workflow
name: Bump SemVer Tags

on:
  push:
    branches:
      - main

jobs:
  bump-semver:
    uses: imdevinc/imdevinc/.github/workflows/shared-bump-semver-tags.yaml@v1
    secrets: inherit
Logs
Run jefflinse/[email protected]
  with:
    mode: bump
    repo-token: ***
    minor-label: minor
    major-label: major
    patch-label: patch
    with-v: true
    require-release-notes: false
    base-branch: false
Processing version bump for PR request #[2](https://github.com/ImDevinC/go-links/actions/runs/7687696738/job/20948027591#step:3:2)
HttpError: Resource not accessible by integration
    at /home/runner/work/_actions/jefflinse/pr-semver-bump/v1.6.0/webpack:/pr-semver-bump/node_modules/@octokit/request/dist-node/index.js:86:1
    at processTicksAndRejections (node:internal/process/task_queues:96:[5](https://github.com/ImDevinC/go-links/actions/runs/7687696738/job/20948027591#step:3:5))
    at createRelease (/home/runner/work/_actions/jefflinse/pr-semver-bump/v1.[6](https://github.com/ImDevinC/go-links/actions/runs/7687696738/job/20948027591#step:3:6).0/webpack:/pr-semver-bump/version.js:51:1)
    at bumpAndTagNewVersion (/home/runner/work/_actions/jefflinse/pr-semver-bump/v1.6.0/webpack:/pr-semver-bump/index.js:[9](https://github.com/ImDevinC/go-links/actions/runs/7687696738/job/20948027591#step:3:9)0:1)
    at run (/home/runner/work/_actions/jefflinse/pr-semver-bump/v1.6.0/webpack:/pr-semver-bump/index.js:[10](https://github.com/ImDevinC/go-links/actions/runs/7687696738/job/20948027591#step:3:10)6:1)
Error: unexpected error: Resource not accessible by integration

from pr-semver-bump.

ImDevinC avatar ImDevinC commented on August 15, 2024

This was my fault, I was missing the following permissions (which are documented:

permissions:
  contents: write
  issues: read
  pull-requests: read

from pr-semver-bump.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.