Skip to content

Use GITHUB_TOKEN instead of custom infra token in workflows - #80

Merged
nabobalis merged 1 commit into
numfocus:mainfrom
Aditya30ag:fix/use-github-token-in-workflows
Dec 30, 2025
Merged

Use GITHUB_TOKEN instead of custom infra token in workflows#80
nabobalis merged 1 commit into
numfocus:mainfrom
Aditya30ag:fix/use-github-token-in-workflows

Conversation

@Aditya30ag

Copy link
Copy Markdown
Contributor

Summary

This PR removes the dependency on the custom infra_automation secret by switching workflows to use GitHub’s built-in GITHUB_TOKEN.

Changes Made

  • Replaced secrets.infra_automation with ${{ secrets.GITHUB_TOKEN }}
  • Added explicit workflow-level permissions for required access
  • Updated both:
    • test_and_deploy.yml
    • issue_assignment.yml

Why this change

  • Prevents workflow failures when the custom secret is missing
  • Aligns with GitHub Actions best practices
  • Reduces maintenance overhead and hidden dependencies

Impact

No functional change to behavior — workflows continue to operate with safer and more reliable authentication.
#79

@nabobalis
nabobalis merged commit 82d2663 into numfocus:main Dec 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants