-
Notifications
You must be signed in to change notification settings - Fork 21
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
Close #3186 Use Composer to track az-icons package, and add ability for site owner to choose how az-icon library is loaded. #1465
Merged
Merged
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3d08704
remove font add to composer
trackleft 218bfe8
adding library ref
trackleft 07d694c
Update themes/custom/az_barrio/az_barrio.libraries.yml
trackleft 4db4d17
Update composer.json
trackleft cda1a94
Adding another action to be triggered on release.
trackleft aac5d04
Update theme settings
trackleft c564b0b
merge upstream
trackleft b00e54e
Adding missing settings
trackleft e33bf59
Merge branch 'main' into az-icons-issue-17/auto-tag-az-icons
trackleft 70d2fe3
Update az-icons-release.yml
trackleft 5307505
Update composer.json
trackleft afdd4a7
Update themes/custom/az_barrio/config/install/az_barrio.settings.yml
trackleft bb17f8b
Merge branch 'main' into az-icons-issue-17/auto-tag-az-icons
trackleft dde06b1
Update composer.json
trackleft ad95b3f
Update themes/custom/az_barrio/includes/common.inc
trackleft 7b00813
Remove vimeo icon
trackleft e6f1095
Merge branch 'az-icons-issue-17/auto-tag-az-icons' of github.com:az-d…
trackleft 21f57dd
Update themes/custom/az_barrio/az_barrio.theme
trackleft e9a0c7e
Update themes/custom/az_barrio/config/schema/az_barrio.schema.yml
trackleft 0b15d76
Update themes/custom/az_barrio/config/install/az_barrio.settings.yml
trackleft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Create PR for new Arizona Icons release | ||
run-name: Create PR to update Arizona Icons to ${{ github.event.client_payload.version }}. | ||
on: | ||
repository_dispatch: | ||
types: az_icons_release | ||
|
||
jobs: | ||
release: | ||
name: Create PR | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
# with: | ||
# ssh-key: ${{ secrets.SELF_DEPLOY_KEY }} | ||
|
||
- name: Create new branch and PR | ||
run: | | ||
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" | ||
git config --global user.name "${GITHUB_ACTOR}" | ||
git checkout -b 'az-icons-${{ github.event.client_payload.version }}' | ||
jq --indent 4 '.require."az-digital/az-icons" |= "${{ github.event.client_payload.version }}"' composer.json > composer.json.new | ||
mv composer.json.new composer.json | ||
cat themes/custom/az_barrio/includes/common.inc | sed "s/^define('AZ_ICONS_STABLE_VERSION'.*/define('AZ_ICONS_STABLE_VERSION', '${{ github.event.client_payload.version }}');/g" > common.inc.new | ||
mv common.inc.new themes/custom/az_barrio/includes/common.inc | ||
git add composer.json themes/custom/az_barrio/includes/common.inc | ||
git commit -m 'Update Arizona Icons to ${{ github.event.client_payload.version }}' | ||
git push --set-upstream origin 'az-icons-${{ github.event.client_payload.version }}' | ||
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token | ||
gh pr create --title 'Update Arizona Icons to ${{ github.event.client_payload.version }}' --body '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 0 additions & 87 deletions
87
themes/custom/az_barrio/libraries/az-icons/az-icons-styles.css
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this was set when I was reviewing.