Release please fails after moving a repository to a new organization

See original GitHub issue

TL;DR

Release-please was working fine. After moving the repo to a new organization, it fails suddenly.

Expected behavior

working without error as nothing has been changed

Observed behavior

Fails with an error message (see log below)

Action YAML

on:
  push:
    branches:
      - main

name: release-please

jobs:
  release-please:
    runs-on: ubuntu-latest
    steps:

      - uses: GoogleCloudPlatform/release-please-action@v3
        id: release
        with:
          release-type: python
          package-name: yte

      - uses: actions/checkout@v2
        if: ${{ steps.release.outputs.release_created }}

      - uses: actions/setup-python@v2
        if: ${{ steps.release.outputs.release_created }}
        with:
          python-version: "3.9"

      - name: Setup poetry
        if: ${{ steps.release.outputs.release_created }}
        uses: abatilo/actions-poetry@v2.0.0

      - name: Install Dependencies using Poetry
        if: ${{ steps.release.outputs.release_created }}
        run: poetry install
      
      - name: Publish to PyPi
        if: ${{ steps.release.outputs.release_created }}
        env:
          PYPI_USERNAME: __token__
          PYPI_PASSWORD: ${{ secrets.PYPI_TOKEN }}
        run: poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD

Log output

Run GoogleCloudPlatform/release-please-action@v3
  with:
    release-type: python
    package-name: yte
    token: ***
    fork: false
    clean: true
    bump-minor-pre-major: false
    bump-patch-for-minor-pre-major: false
    monorepo-tags: false
    draft: false
    draft-pull-request: false
✔ Looking for latest release on branch: main with prefix: 
✔ Building releases
✔ Building strategies by path
✔ Building release for path: .
Error: release-please failed: Resource not accessible by integration

Additional information

The repo was moved to a new organization.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
igeligelcommented, Jun 12, 2022

I just ran into the same issue. The settings referenced can be found under the repositories settings: https://github.com/{username}/{repository}/settings/actions:

chrome_6HAFkqgzF2

An important note: If you work within an organization you have to enable the organization’s actions settings: https://github.com/organizations/{organizationName}/settings/actions

0reactions
tmatsuocommented, Oct 4, 2022

Closing

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error with renamed repo in GitHub: "remote: This repository ...
My error message listed the new https scheme URL, but it was the git@ URL that I actually needed to set as the...
Read more >
Transferring a repository - GitHub Docs
When you transfer a repository to a new owner, they can immediately administer the repository's contents, issues, pull requests, releases, ...
Read more >
Fix Git's 'fatal: repository not found' error quickly | TheServerSide
Fix Git's repository not found error · 1. You did not authenticate · 2. Your password has changed · 3. You are not...
Read more >
Git Error after 17.1.4 update - Visual Studio Feedback
The best way is MS fix it and release a new version ASAP. I updates to 17.1.5 and this issue still exists. Clone...
Read more >
Moving repositories managed by GitLab
The moves are in progress. Re-query the repository move until it completes successfully. The moves have failed. Most failures are temporary and are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found