Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use GITHUB_TOKEN instead of PAT #1017

Merged
merged 3 commits into from Nov 21, 2021
Merged

ci: use GITHUB_TOKEN instead of PAT #1017

merged 3 commits into from Nov 21, 2021

Conversation

domoritz
Copy link
Member

@domoritz domoritz commented Nov 17, 2021

📦 Published PR as canary version: 0.97.1--canary.1017.a612074.0

✨ Test out this PR locally via:

npm install ts-json-schema-generator@0.97.1--canary.1017.a612074.0
# or 
yarn add ts-json-schema-generator@0.97.1--canary.1017.a612074.0

Copy link
Member

@hydrosquall hydrosquall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed in slack:

a PAT is needed if the branch that auto commits to is protected . If we leave the branch unprotected, it won't be needed.

https://github.community/t/how-to-push-to-protected-branches-in-a-github-action/16101/10

Since stable is unprotected (check: https://a.cl.ly/nOu5Q7L9 ), this should work.

@@ -26,7 +26,8 @@ jobs:
run: yarn --frozen-lockfile

- name: Create release
run: npm run release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if using yarn run release might have better results than npm run release, noticed we are seeing the cleanup error in CI again https://github.com/vega/ts-json-schema-generator/runs/4232722268?check_suite_focus=true

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try in f5848fa

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@domoritz domoritz enabled auto-merge (squash) November 21, 2021 14:37
@domoritz domoritz merged commit 39a8a4c into next Nov 21, 2021
@domoritz domoritz deleted the dom/token branch November 21, 2021 14:37
@github-actions
Copy link

🚀 PR was released in v0.97.1-next.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants