Open
Description
Describe the bug
Using EndBug/version-check@v2
throws a 404 when the repo is private
To Reproduce
Using this workflow:
name: release
on:
push:
branches: [master]
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v2
with:
node-version: 14
- id: check
name: Verify package.json version change
uses: EndBug/version-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: push new tag
if: steps.check.outputs.changed == 'true'
run: 'git tag v${{ steps.check.outputs.version }}'