Giter Club home page Giter Club logo

Comments (9)

HyperCodec avatar HyperCodec commented on August 23, 2024 1

Check the permissions of your default GitHub token, you might need to explicitly grant contents: write to that job

where would i define said permissions?

Edit: nvm i just had to scroll down

from latest-tag.

EndBug avatar EndBug commented on August 23, 2024

Hi, can you send me a link to the failing workflow run?

from latest-tag.

HyperCodec avatar HyperCodec commented on August 23, 2024

Hi, can you send me a link to the failing workflow run?

https://github.com/HyperCodec/shuttle-deploy/actions/runs/5755302530/job/15602433601

from latest-tag.

HyperCodec avatar HyperCodec commented on August 23, 2024

appears like it could be an issue related to access for the bot itself

from latest-tag.

EndBug avatar EndBug commented on August 23, 2024

Check the permissions of your default GitHub token, you might need to explicitly grant contents: write to that job

from latest-tag.

HyperCodec avatar HyperCodec commented on August 23, 2024

i updated my workflow to this:

name: Add latest tag on release

on: [release, pull_request]

permissions:
    contents: write

jobs:
    add-tag:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
            - uses: EndBug/latest-tag@latest

but i ended up getting the same error (https://github.com/HyperCodec/shuttle-deploy/actions/runs/5755456695/job/15602911270?pr=7)

edit: git bug removed commit that added params wtf

from latest-tag.

HyperCodec avatar HyperCodec commented on August 23, 2024

well actually, ! [remote rejected] latest -> latest (refusing to allow a GitHub App to create or update workflow `.github/workflows/latest-tag.yml` without `workflows` permission) is new

from latest-tag.

HyperCodec avatar HyperCodec commented on August 23, 2024

why would it be modifying workflow files?

Unless maybe it has something to do with the fact that my repo is a workflow

from latest-tag.

HyperCodec avatar HyperCodec commented on August 23, 2024

ok i have figured it out following https://stackoverflow.com/questions/66643917/refusing-to-allow-a-github-app-to-create-or-update-workflow

from latest-tag.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.