Score:0

"Not Found" on Github action deployment script that used to work a few weeks ago

kr flag
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.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.