v1.3.0
2021-08-20T15:16:26Z: **pushing tag v1.3.0 to repo MyPrivateOrg/phplibs
"message": "Not Found",
"documentation_url": "https://docs.github.com/rest/reference/git#create-a-reference"
}
Error: Tag was not created properly.
Got this error while trying to deploy.
name: tagjob
on:
pull_request:
branches:
- master
types: [closed]
jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bump version and push a tag
id: tag_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.my_token }}
WITH_V: true
This is my github action yml file. I didn't have the problem before 2 weeks ago and it's a new problem that started occurring. Is there an easy way to do this? It's a private repo. It's asking me to use the The Git Database API, but I am wondering if there's a script or helper to do it as fast as possible. As far as I know, it's the Github Action itself that has to do this, but for some reason it's not working, but it doesn't tell me what's wrong exactly. Is it because it's a private repo, then why it worked in the past not too long ago? Or is it the token? The token is supposed to work and the error message should be different.