Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
15 changes: 9 additions & 6 deletions .github/workflows/check-pr-max-lines.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: "Check PR Max Lines"
name: 'Check PR Max Lines'

on:
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read
pull-requests: write # Required for the called workflow to manage labels
pull-requests: write # Required for the called workflow to manage labels

jobs:
check-pr-max-lines:
uses: metamask/github-tools/.github/workflows/pr-line-check.yml@main
with:
max_lines: 1000
ignore_patterns: '(\.lock|\.snap)$'
runs-on: ubuntu-latest
steps:
- name: Check PR lines changed
uses: MetaMask/github-tools/.github/actions/pr-line-check@v1
with:
max-lines: '1000'
ignore-patterns: '(\.lock|\.snap)$'
17 changes: 10 additions & 7 deletions .github/workflows/flaky-test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@ on:
schedule:
# Once every day from Monday-Friday at 08:00 UTC
- cron: 0 8 * * 1-5
workflow_dispatch:

permissions:
contents: read
actions: read

jobs:
flaky-test-report:
uses: MetaMask/github-tools/.github/workflows/flaky-test-report.yml@main
with:
repository: ${{ github.event.repository.name }}
workflow_id: ci.yml
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
slack-webhook-flaky-tests: ${{ secrets.SLACK_WEBHOOK_FLAKY_TESTS }}
runs-on: ubuntu-latest
steps:
- name: Generate flaky test report
uses: MetaMask/github-tools/.github/actions/flaky-test-report@v1
with:
repository: ${{ github.event.repository.name }}
workflow-id: ci.yml
github-token: ${{ secrets.GITHUB_TOKEN }}
slack-webhook-flaky-tests: ${{ secrets.SLACK_WEBHOOK_FLAKY_TESTS }}
19 changes: 11 additions & 8 deletions .github/workflows/post-merge-validation.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Post Merge Validation

on:
on:
schedule:
- cron: '0 7 * * *'
workflow_dispatch:

jobs:
post-merge-validation-tracker:
uses: MetaMask/github-tools/.github/workflows/post-merge-validation.yml@main
with:
repo: ${{ github.repository }}
start_hour_utc: 7
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
google-application-creds-base64: ${{ secrets.GCP_RLS_SHEET_ACCOUNT_BASE64 }}
runs-on: ubuntu-latest
steps:
- name: Run post-merge validation
uses: MetaMask/github-tools/.github/actions/post-merge-validation@v1
with:
repo: ${{ github.repository }}
start-hour-utc: '7'
github-token: ${{ secrets.GITHUB_TOKEN }}
google-application-creds-base64: ${{ secrets.GCP_RLS_SHEET_ACCOUNT_BASE64 }}
Loading