Skip to content

Commit

Permalink
Refactor CI workflows and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Jan 7, 2025
1 parent 6ad8baa commit b0436f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-first-contributor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: First Interaction Check
uses: zephyrproject-rtos/action-first-interaction@7e6446f8439d8b4399169880c36a3a12b5747699
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.STUDIOCMS_SERVICE_TOKEN }}
issue-message: >
issue-message: |
Hi @${{ github.event.issue.user.login }} 👋
Welcome to the StudioCMS project eco-system! We're excited to have you here. Thanks for opening your first issue! 🎉
Expand All @@ -38,8 +38,8 @@ jobs:
- The StudioCMS Team
pr-opened-message: >
Hello @${{ github.event.pull_request.user.login }}, and thank you for opening your first pull request to the StudioCMS Ecosystem! 🎉
pr-message: |
Hello @${{ github.event.pull_request.user.login }}, and thank you for opening your first pull request to this project of the StudioCMS Ecosystem! 🎉
Please make sure to review the project's [Contributing Guide](https://github.com/withstudiocms/.github/blob/main/CONTRIBUTING.md) to ensure your pull request meets our quality standards.
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/ci-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ permissions:
id-token: write

jobs:
mergebot:
name: Mergebot
if: ${{ github.repository_owner == 'withstudiocms' && github.event_name == 'push' && github.event.commits[0].message != '[ci] lint' && github.event.commits[0].author.username != 'dependabot[bot]' }}
uses: withstudiocms/automations/.github/workflows/mergebot.yml@main
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_MERGEBOT }}

format:
name: Format Code
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max_old_space_size=4096"
Expand All @@ -42,14 +50,9 @@ jobs:
commit_user_name: studiocms-no-reply
commit_user_email: [email protected]
commit_author: StudioCMS <[email protected]>

mergebot:
if: ${{ github.repository_owner == 'withstudiocms' && github.event_name == 'push' && github.event.commits[0].message != '[ci] lint' && github.event.commits[0].author.username != 'dependabot[bot]' }}
uses: withstudiocms/automations/.github/workflows/mergebot.yml@main
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_MERGEBOT }}

changeset-release:
if: ${{ github.repository_owner == 'withstudiocms' }}
name: Changeset Release
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:
- opened
- reopened
- synchronize
- closed

permissions:
contents: write
Expand Down

0 comments on commit b0436f3

Please sign in to comment.