Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes get the error remote: Repository not found #6

Open
melkstam opened this issue Jul 26, 2021 · 0 comments
Open

Sometimes get the error remote: Repository not found #6

melkstam opened this issue Jul 26, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@melkstam
Copy link

Hi!

I've been randomly getting the error remote: Repository not found when running this action. Maybe 90% of the times my action is called, it works flawlessly, but the other 10% I get this error. It's a private repo if that makes any difference.

Run actions-ecosystem/action-push-tag@v1
/usr/bin/docker run --name a33c13ea4031e03954238a09053f19aed7a50_eb1757 --label 8a33c1 --workdir /github/workspace --rm -e INPUT_TAG -e INPUT_MESSAGE -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/Org-Name/Repo-Name":"/github/workspace" 8a33c1:3ea4031e03954238a09053f19aed7a50
remote: Repository not found.
fatal: repository 'https://github.com/Org-Name/Repo-Name/' not found

This is my job:

  bump-version:
    needs:
      - unit-test
      - integration-test
    name: 'Bump Version on main'
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - uses: actions-ecosystem/[email protected]
        id: get-merged-pr
        name: Get Merged Pull Request
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

      - uses: actions-ecosystem/action-release-label@v1
        id: release-label
        if: ${{ github.event.pull_request.merged == true }}
        with:
          label_prefix: ''
          labels: ${{ steps.get-merged-pr.labels }}

      - uses: actions-ecosystem/action-get-latest-tag@v1
        id: get-latest-tag
        if: ${{ steps.release-label.outputs.level != null }}

      - uses: actions-ecosystem/action-bump-semver@v1
        id: bump-semver
        if: ${{ steps.release-label.outputs.level != null }}
        with:
          current_version: ${{ steps.get-latest-tag.outputs.tag }}
          level: ${{ steps.release-label.outputs.level }}

      - uses: actions-ecosystem/action-push-tag@v1
        if: ${{ steps.release-label.outputs.level != null }}
        with:
          tag: ${{ steps.bump-semver.outputs.new_version }}
          message: '${{ steps.bump-semver.outputs.new_version }}: PR (#${{ github.event.pull_request.number }}) ${{ github.git-merged-pr.title }}'
@melkstam melkstam added the bug Something isn't working label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant