Comments (2)
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.
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)
- Contributing instructions
- Outputs should include individual version parts
- Action should create a full release, not just an annotated tag HOT 1
- Add support for additional release types: automation, documentation HOT 1
- Support Squash Merge as valid Merge request commit HOT 1
- Add Support for handling rebase merges
- Unit tests don't run in pull requests from forked repos HOT 1
- getCurrentVersion() should fetch and paginate all results
- Bump fails when run on the very first commit in a repository HOT 3
- @actions/github is deprecated HOT 1
- No tag created during rebase-and-merge HOT 3
- Ability to use git operations rather than github api HOT 2
- Add support for merging PRs without tagging a new version HOT 1
- Getting error saying Node.js 12 are deprecated
- Reference Update Failed on bump HOT 3
- `set-output` command is deprecated and will be disabled soon HOT 1
- noop-labels not working HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pr-semver-bump.