Comments (10)
Happy to report that it is working perfectly now! Thanks for all the help and the quick patch
from readme-chess.
@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.
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.
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:
You can change this on your repo settings.
from readme-chess.
After switching the issue persists privileges are still escalated
from readme-chess.
Can you double-check under Settings > Actions > General that your Workflow permissions look like this?
This is the only thing that comes to mind, I don't see why else it would fail.
from readme-chess.
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.
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.
@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.
Happy to help! It was a quick one 😄
from readme-chess.
Related Issues (15)
- Chess: Start new game HOT 1
- The chess board doesn't provide knight moves HOT 1
- Nothing is appearing. HOT 3
- workflow failed HOT 4
- Chess: Start new game
- Flip Board HOT 2
- The chess pieces are hard to identify HOT 2
- Wrong move table when a pawn can be promoted
- "Start new game" is considered as a move HOT 3
- Draws get the "👑 Winner!" label
- Game wouldn't end HOT 4
- Can you help me set up my chess game please? HOT 5
- How to change the looks of the chessboard? HOT 2
- The chess board doesn't provide knight moves HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from readme-chess.