From a3c17a778a051377ad5cb6b86c2ddefbc53cf2c2 Mon Sep 17 00:00:00 2001 From: Stord Bot <77021775+stord-engineering-account@users.noreply.github.com> Date: Tue, 19 Mar 2024 15:43:17 -0600 Subject: [PATCH] chore: sync files with stordco/common-config-elixir (#40) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../release-please-config.json | 0 .../release-please-manifest.json | 0 .github/workflows/common-config-elixir.yaml | 3 +-- .github/workflows/pr.yaml | 2 +- .github/workflows/release.yaml | 11 ++++------- .github/workflows/staging.yaml | 5 +++-- 6 files changed, 9 insertions(+), 12 deletions(-) rename .release-please-config.json => .github/release-please-config.json (100%) rename .release-please-manifest.json => .github/release-please-manifest.json (100%) diff --git a/.release-please-config.json b/.github/release-please-config.json similarity index 100% rename from .release-please-config.json rename to .github/release-please-config.json diff --git a/.release-please-manifest.json b/.github/release-please-manifest.json similarity index 100% rename from .release-please-manifest.json rename to .github/release-please-manifest.json diff --git a/.github/workflows/common-config-elixir.yaml b/.github/workflows/common-config-elixir.yaml index 68350fa..bf557a8 100644 --- a/.github/workflows/common-config-elixir.yaml +++ b/.github/workflows/common-config-elixir.yaml @@ -27,7 +27,7 @@ jobs: persist-credentials: true - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 @@ -52,4 +52,3 @@ jobs: sync-auth: stord-engineering-account:${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} sync-branch: latest sync-repository: github.com/stordco/common-config-elixir.git - diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index ed73b4a..13c604c 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -36,7 +36,7 @@ jobs: core.setFailed("Pull request title does not follow conventional commits"); console.log(` Pull Request title "${title}" does not follow our [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) naming scheme. - + Please try renaming the PR to match one of these examples: chore: a small insignificant change diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 27ebe73..17b6e41 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,12 +18,9 @@ jobs: steps: - id: release name: Release - uses: google-github-actions/release-please-action@v3 + uses: google-github-actions/release-please-action@v4 with: - command: manifest - config-file: .release-please-config.json - default-branch: main - manifest-file: .release-please-manifest.json - release-type: elixir + config-file: .github/release-please-config.json + manifest-file: .github/release-please-manifest.json + target-branch: main token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - diff --git a/.github/workflows/staging.yaml b/.github/workflows/staging.yaml index 1cf2668..6fe8dc8 100644 --- a/.github/workflows/staging.yaml +++ b/.github/workflows/staging.yaml @@ -19,6 +19,7 @@ jobs: url: https://data-streams-ex.stord.engineering permissions: + actions: read contents: read id-token: write pages: write @@ -44,10 +45,10 @@ jobs: run: echo "data-streams-ex.stord.engineering" > ./doc/CNAME - name: Upload Artifacts - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: ./doc - name: Deploy - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4