Action working for 1 user and not for the other #145097
Replies: 1 comment 1 reply
-
Those are things you could try, hope it helps 1. Check Collaborator Permissions: Ensure they have at least write access in Settings > Collaborators. 2. Enable Workflow Permissions: Go to Settings > Actions > General, enable Read and write permissions. 3. Branch Protection Rules: Verify Settings > Branches doesn't restrict pushes or workflows for collaborators. 4. Secrets Access: Ensure collaborators have access to secrets in Settings > Secrets and variables > Actions. 5. Fork Issues: If using forks, enable Workflows triggered by forked pull requests in Settings > Actions. 6. Debug Workflow: Add this to log events:
7. Ensure the collaborator pushes directly to the correct branch ( |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I have an aws action using github\workflows\deploy.yml that triggers auto deployment to AWS. It is working fine and getting triggered for me (owner of repo), but not getting triggered when the other collaborator pushes code. Even a simple workflow like this doesn't work for the other user:
name: Test Workflow
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Hello World
run: echo "Hello World!"
What should I do? I have checked all settings and everything seems to be fine.
Beta Was this translation helpful? Give feedback.
All reactions