Coder Social home page Coder Social logo

Comments (10)

GaslightGod avatar GaslightGod commented on June 17, 2024 1

Happy to report that it is working perfectly now! Thanks for all the help and the quick patch

from readme-chess.

marcizhu avatar marcizhu commented on June 17, 2024

@GaslightGod I had a look and I see you created a template, not a regular repository. I'm not sure if this is the cause of your problem but I would start by changing that. I've never seen a workflow even being executed on a template so I wouldn't be surprised if GitHub disallowed pushing from workflows on template repos.

from readme-chess.

GaslightGod avatar GaslightGod commented on June 17, 2024

I generated a repository from the template. Should I just clone the repository and upload? Unless I'm misunderstanding the use of the template built-in it should generate a new repository based off yours.

from readme-chess.

marcizhu avatar marcizhu commented on June 17, 2024

You should create a repo from this template, but you should NOT make your repo a template. Keep it a "normal" repository. Currently it's marked as a template:
image

You can change this on your repo settings.

from readme-chess.

GaslightGod avatar GaslightGod commented on June 17, 2024

After switching the issue persists privileges are still escalated

from readme-chess.

marcizhu avatar marcizhu commented on June 17, 2024

Can you double-check under Settings > Actions > General that your Workflow permissions look like this?
image

This is the only thing that comes to mind, I don't see why else it would fail.

from readme-chess.

GaslightGod avatar GaslightGod commented on June 17, 2024

Yes those settings were correct, I actually went into tim's and his has been having issues for around 3 weeks with the same error. I'm thinking something might be deprecated in the .yml has any updates to workflow functionality changed recently that you're aware of?

from readme-chess.

marcizhu avatar marcizhu commented on June 17, 2024

My repo has been working fine for the last 3+ years so I don't think this is a general issue with workflows, nor anything deprecated in the YAML files. I use exactly the same configuration available in this repo so it should work for you as well...

from readme-chess.

marcizhu avatar marcizhu commented on June 17, 2024

@GaslightGod I managed to reproduce your issue and it should be fixed now as of the latest commit in the master branch. Could you re-create your repo to test it? Alternatively, add contents: write under the permissions section in your Chess.yml workflow file:

name: Chess

on:
  issues:
    types: [opened]

jobs:
  move:
    permissions:
      issues: write
      contents: write
    runs-on: ubuntu-latest
    if: startsWith(github.event.issue.title, 'Chess:')
...

Lets keep this issue open until we find a solution since it looks like a genuine bug to me.

from readme-chess.

marcizhu avatar marcizhu commented on June 17, 2024

Happy to help! It was a quick one 😄

from readme-chess.

Related Issues (15)

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.