Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/actionlint.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
source-hash: ${{ steps.source.outputs.hash }}
packages-build-cache-key: ${{ steps.ci-cache-keys.outputs.packages-build-cache-key }}
meteor-rc-cache-key: ${{ steps.ci-cache-keys.outputs.meteor-rc-cache-key }}
github-actions-changed: ${{ steps.diff.outputs.actions-changed }}
# this is 100% intentional, secrets are not available for forks, so ee-tests will always fail
# to avoid this, we are using a dummy license, expiring at 2026-07-01
enterprise-license: Uo7Jcr6WW0XYA8ydHd+Sk6pZ9/0V6dIASnyTwvUrNym/zJg2Ma3eYNKkC8osXLCc72y1ahohnWY7/+7IYkvono3GYXQR+IGvYbbrVgNR6OjMahd9P/odHZL1GFTm2qHrEL5Hh/XEOG+YluFeRdWPzCizQlp4zGGOi0+PkQo096TR9NVCLrsErVl2MW1WM6ZM1W5EUJG9pKly4BQnaOTUAlor1im6i8qPTDCKrISZfLiZEWuQKaPW/GE3mRKjQNjDh0CabX1N2S880pRRGoozBYAnp2NmFfrQW0+5ihKisBTIeMbMZ7K5NE5PkYU1nhQDcc+rpDHtwG9Ceg5X0J+oea3UfrPTmDON2aSI0iO22kvL6G7QI3fyrEIvJrMbxcNKxAFeQYgnjisw/b06+chWSG4jG686Fx58XrVS87dFhWL9WoGltsk1dJCntUQvI1sX6zOfpvyg1iWRnHfYDOrwoWlX57XMm29fWineEoqnOOTOVnA/uP+DKEhercQ9Xuo7Cr6zJxpQpwd03e7ODVjiEbTDqlkZE687rmxRCD4Wmu8L86WIl2xSEIajKLX301Ww5mz/FdLqk+Mg32lkW66W3azQKvJ1440NBrYxhpJ+dl9vSFMb3s1+xnz1cYUbjUcq9mARvORcgy5mLwKulmqT6Sq0Uvbv10YCO0TW0beXYW8=
Expand Down Expand Up @@ -133,6 +134,16 @@ jobs:
echo "DOCKER_TAG: ${DOCKER_TAG}"
echo "gh-docker-tag=${DOCKER_TAG}" >> "$GITHUB_OUTPUT"

- id: diff
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PR_NUM: ${{ github.event.number }}
run: |
if gh pr diff --name-only --repo "${GITHUB_REPOSITORY}" "${GH_PR_NUM}" | grep -q -e .github/workflows -e .github/actions; then
echo "Worflow changes detected"
Comment thread
d-gubert marked this conversation as resolved.
Outdated
echo "actions-changed=true" >> "$GITHUB_OUTPUT"
fi
Comment thread
d-gubert marked this conversation as resolved.

notify-draft-services:
name: 🚀 Notify external services - draft
runs-on: ubuntu-24.04-arm
Expand Down Expand Up @@ -479,6 +490,32 @@ jobs:
baseline-tag: develop
size-thresholds: '{"rocketchat":{"mb":11}}'

actionlint:
name: 🔎 Code Check - Action Lint
needs: [release-versions]
if: needs.release-versions.outputs.github-actions-changed
runs-on: ubuntu-24.04-arm
env:
ACTIONLINT_VERSION: 1.7.12
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Get actionlint
shell: bash
run: |
TAR_NAME="actionlint_${ACTIONLINT_VERSION}_$(echo "${RUNNER_OS}_${RUNNER_ARCH}" | tr '[:upper:]' '[:lower:]').tar.gz"
echo "Downloading ${TAR_NAME}..."
curl -fsSLO "https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/${TAR_NAME}"
curl -fsSLo checksums.txt "https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_checksums.txt"
grep " ${TAR_NAME}$" "checksums.txt" | sha256sum -c -
tar -xzf "${TAR_NAME}" actionlint

- name: Run actionlint
shell: bash
run: |
./actionlint -color

Comment thread
d-gubert marked this conversation as resolved.

checks:
needs: [release-versions, packages-build]

Expand Down
Loading