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

Use bot with PAT to update statistics #8425

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Use bot with PAT to update statistics #8425

merged 1 commit into from
Aug 8, 2023

Conversation

m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented Aug 8, 2023

PAT only valid for a year, it's not possible to create a longer one

Goal:

Ticket(s): #

  • Backport to LTR documentation is requested

PAT only valid for a year, it's not possible to create a longer one
@DelazJ
Copy link
Collaborator

DelazJ commented Aug 8, 2023

@m-kuhn I have no expertise here, so if it is good with you then I'm also OK

@m-kuhn m-kuhn merged commit f33272c into master Aug 8, 2023
6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the m-kuhn-patch-1 branch August 8, 2023 19:02
@DelazJ
Copy link
Collaborator

DelazJ commented Aug 17, 2023

@m-kuhn sorry but looks like we need to give some permission to geo-ninja (https://github.com/qgis/QGIS-Documentation/actions/runs/5864142163/job/15898729281#step:8:533)

@m-kuhn
Copy link
Member Author

m-kuhn commented Aug 17, 2023

Probably the _GH_PAT does not have sufficient permissions.
I'll need @3nids to fix it

@geo-ninja
Copy link
Collaborator

geo-ninja commented Aug 18, 2023

I updated my permissions, can you try again?

@m-kuhn
Copy link
Member Author

m-kuhn commented Aug 18, 2023

Thank you @geo-ninja
Looks like we still have some limitations though

  remote: Permission to geo-ninja/QGIS-Documentation.git denied to geo-ninja.
  fatal: unable to access 'https://github.com/geo-ninja/QGIS-Documentation/': The requested URL returned error: 403

@DelazJ
Copy link
Collaborator

DelazJ commented Sep 5, 2023

Hi,
I forgot to report but the action is still failing
https://github.com/qgis/QGIS-Documentation/actions/runs/6080809961/job/16495355349#step:8:535

! [remote rejected] create-pull-request/patch -> create-pull-request/patch (refusing to allow a Personal Access Token to create or update workflow .github/workflows/auto-label.yml without workflow scope)

Seems that the PAT still has permission limitations. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants