-
Hello! N.B. This issue appeared today morning. I had working flow for more than a week. The issue: In Actions section I can see broken stylings: After page reload stylings become even more broken, footer disappears and central div goes to the left. Does anyone now what happened? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments
-
We also have a similar use-case that just recently quit working. We create a new Repo via API using a repository template. The template repo contains a workflow. In our case, we typically create the new Repo in a 2nd organization, which can be done using the API. I do not believe there is any API that can enable the disabled workflows, for the case Note that I understand the reason for |
Beta Was this translation helpful? Give feedback.
-
I’m having the same problem, using GitHub Classroom which makes heavy use of template repositories. All of my students are finding that their tests are now not running, unless they enable actions manually as in the above instructions. |
Beta Was this translation helpful? Give feedback.
-
@vromash, @munderseth, @dmusican, Sometimes, when creating a new repository, you need to manually enable the Actions on the repository via clicking the “Enable Actions on this repository” button. Most of time, this situation occurs when you fork a repository and creating a new repository from template.
This option is not related this question. The options “Allow all actions”, “Allow local actions only” and “Allow select actions” are used to set which actions are allowed to be used in the workflows within current organization or repository.
To view more details, you can see “Disabling or limiting GitHub Actions for your organization”. |
Beta Was this translation helpful? Give feedback.
-
brightran:
@brightran, before that issue was reported, enabling Actions was not required at all for the Template Repositories at all. I have created and maintain IntelliJ Platform Plugin Template project that is supposed to run the Template Cleanup workflow when the user clicks Use this template button - i.e., to set the plugin project name to match the current repository name, cleanup README, etc. For now, there are over 400 projects created from that template with that workflow successfully triggered. I find the current behavior as a bug and requiring users to enable Actions and pushing a commit to the remote repository breaks the whole concept of that template. Is there anything we can do about that? |
Beta Was this translation helpful? Give feedback.
-
@brightran Can you clarify what you mean by “sometimes”? Again, this is a change in behavior from what it was just a couple of days ago. This is affecting teachers who use GitHub Classroom in a way it didn’t just two days ago, and makes the experience for students more difficult. |
Beta Was this translation helpful? Give feedback.
-
@brightran It would be great if the old functionality could be returned back or created endpoint which allowed us to enable workflows. |
Beta Was this translation helpful? Give feedback.
-
When you click on the Actions tab do you see a button to enable actions on the repo? |
Beta Was this translation helpful? Give feedback.
-
Yes, because now they’re disabled by default - which is not something that we’d expect in repositories created from templates. |
Beta Was this translation helpful? Give feedback.
-
I’ve raised this issue in the GitHub Education forum as well (see here for the thread). Like @dmusican my use case is education-focused and this change broke our workflow for providing automated feedback to students. It might seem trivial to ask students to push a button, but the workflow is designed around students not having to do that (and add to the cognitive load). I hope GitHub will consider reverting this change, especially considering we’re in the middle of one of the hardest semesters of our lives and are not in a position to help students in person. |
Beta Was this translation helpful? Give feedback.
-
Same experience with my classes. The Actions tab shows the state as disabled and has the button to enable. But at the same time going to the repository settings (as owner of the repository) and checking the Actions settings it does not say that the feature is disabled, it says “Actions permissions: Allow all actions”. I also checked enabling this via API, but there is no such functionality. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, this issue has now been resolved. Actions are enabled on template repos now by default. It was a bug that was fixed that was fixed just now and has been pushed to production. |
Beta Was this translation helpful? Give feedback.
-
That’s great news! Thank you for sharing it, @hamelsmu! |
Beta Was this translation helpful? Give feedback.
-
Thanks. I have confirmed that our use-case works now - Repo creation using API with template “across” organizations. 👍 |
Beta Was this translation helpful? Give feedback.
-
Is this still working for people? |
Beta Was this translation helpful? Give feedback.
-
Every time i click "Enable Action on the workflow" |
Beta Was this translation helpful? Give feedback.
Hello everyone, this issue has now been resolved. Actions are enabled on template repos now by default. It was a bug that was fixed that was fixed just now and has been pushed to production.