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

Add action for auto updating symbols #259

Merged
merged 2 commits into from
Apr 19, 2023
Merged

Conversation

fallaciousreasoning
Copy link
Collaborator

@fallaciousreasoning fallaciousreasoning commented Apr 18, 2023

Fixes #255

@kim0 I've created an action in the Leo SF Symbols repo which I want to run on deploy - would you mind having a look at this and letting me know if you think it's the right approach (and if it is, setting up the LEO_SF_SYMBOLS_ACCESS_TOKEN as a token which will let the action get triggered).

I haven't done much with GH Actions before so I might be going in the completely wrong direction.

Copy link
Contributor

@kim0 kim0 left a comment

Choose a reason for hiding this comment

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

LGTM. Left some comments

.github/workflows/sf-symbols.yml Outdated Show resolved Hide resolved
.github/workflows/sf-symbols.yml Outdated Show resolved Hide resolved
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.LEO_SF_SYMBOLS_ACCESS_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't really like tokens, but I don't think we can trigger another repo without it.
cc @mihaiplesa to check and maybe create the token as I don't have permission on that repo.

@kim0
Copy link
Contributor

kim0 commented Apr 19, 2023

@fallaciousreasoning CI seems to need a fix too

@fallaciousreasoning fallaciousreasoning temporarily deployed to staging April 19, 2023 21:06 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

👋 Thanks for Submitting! This PR is available for preview at the link below.

✅ PR tip preview: https://259.pr.leo.bravesoftware.com/
✅ Commit preview: https://259.pr.leo.bravesoftware.com/commit-11430a875b35fb4f9d1d0f660053725baa7e6849/

@kim0 kim0 requested a review from mihaiplesa April 19, 2023 21:15
@fallaciousreasoning
Copy link
Collaborator Author

I'm going to merge - dunno if it's going to work 😆

@fallaciousreasoning fallaciousreasoning merged commit bcbfcee into main Apr 19, 2023
@fallaciousreasoning fallaciousreasoning deleted the auto-update-symbols branch April 19, 2023 21:20
@kim0
Copy link
Contributor

kim0 commented Apr 20, 2023

@fallaciousreasoning I've added the needed secret and verified triggering the leo GH action, does trigger the other one in leo-sf-symbols

@fallaciousreasoning
Copy link
Collaborator Author

Wonderful, thanks @kim0!

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.

[Icons]: iOS Icon Support
3 participants