Skip to content

Commit

Permalink
init changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Feb 21, 2024
1 parent 4dd08af commit bcd9c96
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 20 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
16 changes: 16 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "smartcontractkit/mercury-pipeline"
}
],
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
39 changes: 19 additions & 20 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: push-master

on:
push:
branches:
- master
# branches:
# - master

env:
PACKAGES: "median"
Expand All @@ -30,7 +30,6 @@ jobs:
shell: bash
env:
PACKAGES: ${{ env.PACKAGES }}
# Convert "producer,reports_consumer" to "./producer/... ./reports_consumer/..."
run: echo "lint_args_packages=$(echo "./$(echo $PACKAGES | sed 's/,/\/... .\//g;s/$/\/.../')")" | tee -a "${GITHUB_OUTPUT}"

ci-lint:
Expand Down Expand Up @@ -121,20 +120,20 @@ jobs:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_FEEDS_CI_CHANGESET_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.AWS_FOUNDATIONS_GATI_URL }}

cicd-build-publish-artifacts-release:
# Call push-tag-release for [email protected]
name: Call push-tag-release for ${{ matrix.package.name }}@${{ matrix.package.version }}
if: needs.cd-release.outputs.changesets_published == 'true'
strategy:
fail-fast: false
matrix:
package: ${{ fromJson(needs.cd-release.outputs.changesets_publishedPackages) }}
permissions:
id-token: write
contents: write
actions: read
needs: [cd-release]
uses: ./.github/workflows/push-tag-release.yml
secrets: inherit
with:
tag: "${{ matrix.package.name }}@${{ matrix.package.version }}"
# cicd-build-publish-artifacts-release:
# # Call push-tag-release for [email protected]
# name: Call push-tag-release for ${{ matrix.package.name }}@${{ matrix.package.version }}
# if: needs.cd-release.outputs.changesets_published == 'true'
# strategy:
# fail-fast: false
# matrix:
# package: ${{ fromJson(needs.cd-release.outputs.changesets_publishedPackages) }}
# permissions:
# id-token: write
# contents: write
# actions: read
# needs: [cd-release]
# uses: ./.github/workflows/push-tag-release.yml
# secrets: inherit
# with:
# tag: "${{ matrix.package.name }}@${{ matrix.package.version }}"

0 comments on commit bcd9c96

Please sign in to comment.