From 9f531fcfcb5a2d9094503c51fe1a72c36815f667 Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Tue, 13 Dec 2022 10:36:40 -0700 Subject: [PATCH 1/4] Fix release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c67f263d2..f2dc52215 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: node-version: 14.x - name: Setup Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.x From 6392a8a5118f8e6f53cb2837629ad2026dfcdffb Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Tue, 13 Dec 2022 10:38:10 -0700 Subject: [PATCH 2/4] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2dc52215..f6f67f284 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0.x + ruby-version: 2.7 - name: Install dependencies run: | From 6648b96d8177d87428de77a41b0cc98c30cd85a3 Mon Sep 17 00:00:00 2001 From: GitHub Design Systems Bot <30705008+primer-css@users.noreply.github.com> Date: Tue, 13 Dec 2022 19:12:12 +0100 Subject: [PATCH 3/4] Version Packages (#881) Co-authored-by: github-actions[bot] --- .changeset/cuddly-walls-build.md | 5 ----- .changeset/nice-kings-relate.md | 5 ----- .changeset/red-pets-applaud.md | 5 ----- .changeset/selfish-pianos-talk.md | 5 ----- .changeset/sixty-pigs-brake.md | 5 ----- CHANGELOG.md | 14 ++++++++++++++ lib/octicons_gem/lib/octicons/version.rb | 2 +- lib/octicons_helper/Gemfile | 2 +- lib/octicons_helper/lib/octicons_helper/version.rb | 2 +- lib/octicons_helper/octicons_helper.gemspec | 2 +- lib/octicons_jekyll/Gemfile | 2 +- lib/octicons_jekyll/jekyll-octicons.gemspec | 2 +- lib/octicons_jekyll/lib/jekyll-octicons/version.rb | 2 +- lib/octicons_node/package.json | 2 +- lib/octicons_react/package.json | 2 +- package.json | 2 +- 16 files changed, 24 insertions(+), 35 deletions(-) delete mode 100644 .changeset/cuddly-walls-build.md delete mode 100644 .changeset/nice-kings-relate.md delete mode 100644 .changeset/red-pets-applaud.md delete mode 100644 .changeset/selfish-pianos-talk.md delete mode 100644 .changeset/sixty-pigs-brake.md diff --git a/.changeset/cuddly-walls-build.md b/.changeset/cuddly-walls-build.md deleted file mode 100644 index d6e5c9fde..000000000 --- a/.changeset/cuddly-walls-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/octicons": minor ---- - -Add rel-file-path-16.svg, rel-file-path-24.svg diff --git a/.changeset/nice-kings-relate.md b/.changeset/nice-kings-relate.md deleted file mode 100644 index 03893714f..000000000 --- a/.changeset/nice-kings-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/octicons": minor ---- - -Save unlink-16.svg, unlink-24.svg diff --git a/.changeset/red-pets-applaud.md b/.changeset/red-pets-applaud.md deleted file mode 100644 index 4d99bf220..000000000 --- a/.changeset/red-pets-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/octicons": minor ---- - -Save read-32.svg, unread-32.svg, read-48.svg, unread-48.svg diff --git a/.changeset/selfish-pianos-talk.md b/.changeset/selfish-pianos-talk.md deleted file mode 100644 index ae52fa038..000000000 --- a/.changeset/selfish-pianos-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/octicons": minor ---- - -Add Goal icons diff --git a/.changeset/sixty-pigs-brake.md b/.changeset/sixty-pigs-brake.md deleted file mode 100644 index 79e25007b..000000000 --- a/.changeset/sixty-pigs-brake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/octicons": minor ---- - -Save sponsor-tiers-16.svg, sponsor-tiers-24.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index ce5448d7a..8c67a93be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 17.10.0 + +### Minor Changes + +- [#874](https://github.com/primer/octicons/pull/874) [`3ff5aa6`](https://github.com/primer/octicons/commit/3ff5aa669d33a88048825d229656abfa459e4d64) Thanks [@gavinmn](https://github.com/gavinmn)! - Add rel-file-path-16.svg, rel-file-path-24.svg + +* [#878](https://github.com/primer/octicons/pull/878) [`5797f85`](https://github.com/primer/octicons/commit/5797f859859df31cd769e102fbf518ccaf9a976f) Thanks [@CameronFoxly](https://github.com/CameronFoxly)! - Save unlink-16.svg, unlink-24.svg + +- [#879](https://github.com/primer/octicons/pull/879) [`2fa8425`](https://github.com/primer/octicons/commit/2fa8425dab93346cd5d8b44bfc3709f0126e19fb) Thanks [@gavinmn](https://github.com/gavinmn)! - Save read-32.svg, unread-32.svg, read-48.svg, unread-48.svg + +* [#873](https://github.com/primer/octicons/pull/873) [`0d1b1ff`](https://github.com/primer/octicons/commit/0d1b1ffca5334c6207cf975f69459153f1d1cbfd) Thanks [@gavinmn](https://github.com/gavinmn)! - Add Goal icons + +- [#877](https://github.com/primer/octicons/pull/877) [`3916b29`](https://github.com/primer/octicons/commit/3916b29935d9845eec8726cc389b98281bc42b02) Thanks [@gavinmn](https://github.com/gavinmn)! - Save sponsor-tiers-16.svg, sponsor-tiers-24.svg + ## 17.9.0 ### Minor Changes diff --git a/lib/octicons_gem/lib/octicons/version.rb b/lib/octicons_gem/lib/octicons/version.rb index 0207aa4b7..98b7bae35 100644 --- a/lib/octicons_gem/lib/octicons/version.rb +++ b/lib/octicons_gem/lib/octicons/version.rb @@ -1,3 +1,3 @@ module Octicons - VERSION = "17.9.0".freeze + VERSION = "17.10.0".freeze end diff --git a/lib/octicons_helper/Gemfile b/lib/octicons_helper/Gemfile index d81ce180e..6142fe491 100644 --- a/lib/octicons_helper/Gemfile +++ b/lib/octicons_helper/Gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" gemspec -gem "octicons", "17.9.0" +gem "octicons", "17.10.0" gem "rails" group :development, :test do diff --git a/lib/octicons_helper/lib/octicons_helper/version.rb b/lib/octicons_helper/lib/octicons_helper/version.rb index 168427b0a..3d9815e5e 100644 --- a/lib/octicons_helper/lib/octicons_helper/version.rb +++ b/lib/octicons_helper/lib/octicons_helper/version.rb @@ -1,3 +1,3 @@ module OcticonsHelper - VERSION = "17.9.0".freeze + VERSION = "17.10.0".freeze end diff --git a/lib/octicons_helper/octicons_helper.gemspec b/lib/octicons_helper/octicons_helper.gemspec index 868139951..17ea37c34 100644 --- a/lib/octicons_helper/octicons_helper.gemspec +++ b/lib/octicons_helper/octicons_helper.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] - s.add_dependency "octicons", "17.9.0" + s.add_dependency "octicons", "17.10.0" s.add_dependency "railties" s.add_dependency "actionview" end diff --git a/lib/octicons_jekyll/Gemfile b/lib/octicons_jekyll/Gemfile index 94b6e5114..071d3789b 100644 --- a/lib/octicons_jekyll/Gemfile +++ b/lib/octicons_jekyll/Gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" gemspec -gem "octicons", "17.9.0" +gem "octicons", "17.10.0" group :development, :test do gem "minitest" diff --git a/lib/octicons_jekyll/jekyll-octicons.gemspec b/lib/octicons_jekyll/jekyll-octicons.gemspec index 65d765868..a57a9f38f 100644 --- a/lib/octicons_jekyll/jekyll-octicons.gemspec +++ b/lib/octicons_jekyll/jekyll-octicons.gemspec @@ -14,5 +14,5 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] s.add_dependency "jekyll", ">= 3.6", "< 5.0" - s.add_dependency "octicons", "17.9.0" + s.add_dependency "octicons", "17.10.0" end diff --git a/lib/octicons_jekyll/lib/jekyll-octicons/version.rb b/lib/octicons_jekyll/lib/jekyll-octicons/version.rb index 459db8a67..85e76ebcf 100644 --- a/lib/octicons_jekyll/lib/jekyll-octicons/version.rb +++ b/lib/octicons_jekyll/lib/jekyll-octicons/version.rb @@ -3,6 +3,6 @@ module Liquid; class Tag; end; end module Jekyll class Octicons < Liquid::Tag - VERSION = "17.9.0".freeze + VERSION = "17.10.0".freeze end end diff --git a/lib/octicons_node/package.json b/lib/octicons_node/package.json index 20aea8c3a..201d58437 100644 --- a/lib/octicons_node/package.json +++ b/lib/octicons_node/package.json @@ -1,6 +1,6 @@ { "name": "@primer/octicons", - "version": "17.9.0", + "version": "17.10.0", "description": "A scalable set of icons handcrafted with <3 by GitHub.", "homepage": "https://primer.style/octicons", "author": "GitHub Inc.", diff --git a/lib/octicons_react/package.json b/lib/octicons_react/package.json index 17dd5f6df..a6bcf435f 100644 --- a/lib/octicons_react/package.json +++ b/lib/octicons_react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/octicons-react", - "version": "17.9.0", + "version": "17.10.0", "description": "A scalable set of icons handcrafted with <3 by GitHub.", "homepage": "https://primer.style/octicons", "author": "GitHub, Inc.", diff --git a/package.json b/package.json index 5b8d691f5..ad6353b5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/octicons", - "version": "17.9.0", + "version": "17.10.0", "publishConfig": { "registry": "no registry, don't publish from this package.json." }, From e05ddd3317c460c1e298cb232bdaa4c2a2d863de Mon Sep 17 00:00:00 2001 From: Josh Black Date: Tue, 13 Dec 2022 12:52:40 -0600 Subject: [PATCH 4/4] ci: add workflow for updating package API snapshots (#863) * ci: add workflow for updating package API snapshots * Update .github/workflows/package_api.yml * chore: add working-directory option * Update package_api.yml --- .github/workflows/package_api.yml | 48 +++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/package_api.yml diff --git a/.github/workflows/package_api.yml b/.github/workflows/package_api.yml new file mode 100644 index 000000000..8dc480f97 --- /dev/null +++ b/.github/workflows/package_api.yml @@ -0,0 +1,48 @@ +name: Package API +on: + pull_request_target: + types: + - labeled + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + +permissions: + contents: write + +jobs: + update: + if: > + github.event.pull_request.head.repo.full_name == 'primer/octicons' && + contains(github.event.pull_request.labels.*.name, 'api changes approved') }} + runs-on: ubuntu-latest + steps: + - name: Checkout default branch + uses: actions/checkout@v3 + with: + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.head_ref }} + - uses: actions/setup-node@v3 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + - name: Install dependencies + run: yarn + - name: Install workspace dependencies + working-directory: lib/octicons_react + run: yarn + - name: Build project + run: yarn build + - name: Build package + working-directory: lib/octicons_react + run: yarn build + - name: Update snapshots + working-directory: lib/octicons_react + run: yarn test -u + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: 'chore(project): update @primer/octicons-react Public API' + - uses: actions-ecosystem/action-remove-labels@v1 + with: + labels: 'api changes approved'