autoupdate
autoupdate copied to clipboard
autoupdate failing with 404 not found
Handling push event on ref 'refs/heads/develop'
PR-30
Evaluating pull request #30...
Error: Not Found
PR 30 does, in fact, exist so not sure what exactly is going on here internally. Using latest version. The PR is from a fork
This is my workflow yaml:
name: autoupdate
on:
push:
branches:
- develop
jobs:
autoupdate:
name: autoupdate
runs-on: ubuntu-latest
steps:
- uses: docker://chinthakagodawita/autoupdate-action:v1.5.0
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
Hey @JakeBooher - unfortunately autoupdate
won't work against a PR from a fork. This is because the GITHUB_TOKEN
that Actions runs as doesn't have access to write to the fork.
The only way around this is to use a Personal Access Token that has access to both repositories (e.g. if both repos were in an organisation, you could use a PAT from an organisation owner / service account).
That said - it shouldn't be throwing a 404, let me see what I can do to make the messaging around this better.