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

Invalid workflow file #43

Closed
sgort opened this issue Feb 18, 2025 · 5 comments
Closed

Invalid workflow file #43

sgort opened this issue Feb 18, 2025 · 5 comments

Comments

@sgort
Copy link
Contributor

sgort commented Feb 18, 2025

Ik krijg bij poging een publicatie aan te passen, met enkel een wijziging in een markdown file een onverwachte fout en krijg er geen vinger achter wat hier aan de hand is.

Link naar de gefaalde workflow

Image

@TimvdLippe
Copy link
Contributor

Op basis van https://github.com/orgs/community/discussions/76409 zijn er meerdere opties:

  1. Op https://github.com/MinBZK/wetsuitvoering/settings/actions bij "Workflow permissions" moet "Read and write permissions" aan staan
  2. Het zou ook kunnen dat dit op GitHub organisation niveau moet worden gefixt: https://github.com/organizations/MinBZK/settings/actions
  3. De oplossing uit https://github.com/orgs/community/discussions/76409#discussioncomment-11260212
jobs:
  call-workflow:
    permissions:
      id-token: write
  publish:
    needs: build
    name: Publish (Logius)
    uses: Logius-standaarden/Automatisering/.github/workflows/publish.yml@main
    secrets: inherit

Werkt een van deze opties?

@sgort
Copy link
Contributor Author

sgort commented Mar 13, 2025

Dank @TimvdLippe , deze was even aan de aandacht ontsnapt. Ik ga er naar kijken en laat 't weten.

@sgort
Copy link
Contributor Author

sgort commented Mar 21, 2025

  1. Workflow permissions. Check!

Image

  1. Organization level. Check!

Image

@sgort
Copy link
Contributor Author

sgort commented Mar 21, 2025

  1. Tried this one met een verse, nieuwe repo via de Use this template button >> https://github.com/MinBZK/The-LegitiMate
name: Build and Check
on:
  workflow_dispatch:
  pull_request:
  push:
    branches:
      - main
jobs:
  build:
    name: Build
    permissions:
      pages: write
      id-token: write
    uses: Logius-standaarden/Automatisering/.github/workflows/build.yml@snapshot-in-repo
  check:
    needs: build
    name: Check
    permissions:
      pages: write
      id-token: write
    uses: Logius-standaarden/Automatisering/.github/workflows/check.yml@main
  publish:
    needs: build
    name: Publish (Logius)
    permissions:
      pages: write
      id-token: write
    uses: Logius-standaarden/Automatisering/.github/workflows/publish.yml@main
    secrets: inherit

Zie nu

remote: Permission to MinBZK/The-LegitiMate.git denied to github-actions[bot].
37
fatal: unable to access 'https://github.com/MinBZK/The-LegitiMate/': The requested URL returned error: 403
38

Ik ben geneigd het maar op te geven. De respec template is een voortdurende worsteling voor mij. Ik ben niet kundig genoeg en gebruik het blijkbaar te weinig.

Ik close de issue. Ik ga een alternatief zoeken.

@sgort sgort closed this as completed Mar 21, 2025
@TimvdLippe
Copy link
Contributor

https://github.com/MinBZK/The-LegitiMate/ is voor mij niet beschikbaar, is dit een private repository of is die ondertussen weer verwijderd? Vervelend om te horen dat het niet lekker werkt. Mocht je in de toekomst het nog een poging willen geven, dan helpen we je graag. Schroom dan niet om een afspraak in te plannen zodat we er met je naar kunnen kijken om uit te vogelen wat er mis gaat.

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

No branches or pull requests

2 participants