DZone
Open Source Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Open Source Zone > GitHub Actions Error Pushing With Workflow Modified [Snippets]

GitHub Actions Error Pushing With Workflow Modified [Snippets]

When creating a workflow for GitHub Action, a strange error can sometimes occur...

Ricci Gian Maria user avatar by
Ricci Gian Maria
·
Oct. 02, 19 · Open Source Zone · Code Snippet
Like (2)
Save
Tweet
2.21K Views

Join the DZone community and get the full member experience.

Join For Free

after creating a workflow for github action, if you try to modify the workflow locally, then push to github — you can incur a strange error.

you may also like: building a real-time github issue tracker using java and deepstream

here's an example of refusing to allow an integration to create or update .github/workflows/ci.yml:

figure 1: error in pushing to git repository

the reason seems to be about different permissions used for authentication in the auth token. so, to solve the problem, you need to clear credentials and then try the operation again. in windows, you need to use credential manager , as i described in that old post. just delete every entry for github, then try to push again; you will be asked again for credentials and then you should be able to push.

figure 2: i got the error, then clear credentials in credential manager, finally i was able to push again.

let me know in the comments if the error persists.

further reading

building a real-time github issue tracker using java and deepstream

[dzone refcard] getting started with git

the 8 best github integrations to look at in 2019

GitHub workflow

Published at DZone with permission of Ricci Gian Maria, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • SDLC Vs STLC: What's the Difference?
  • 10 Steps to Become an Outstanding Java Developer
  • How To Integrate Third-Party Login Systems in Your Web App Using OAuth 2.0
  • Unit Vs Integration Testing: What's the Difference?

Comments

Open Source Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo