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
36 changes: 36 additions & 0 deletions .github/workflows/pr-repo-hygiene.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Repository Hygiene

on: pull_request

concurrency:
group: pr-repo-hygiene-${{ github.ref }}
cancel-in-progress: true

permissions:
packages: read

jobs:
superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Lint codebase
uses: docker://github/super-linter:v3.8.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE: true
VALIDATE_MD: true
VALIDATE_YAML: true

verify-changelog:
name: Verify CHANGELOG is valid
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Verify CHANGELOG
uses: docker://ghcr.io/ponylang/changelog-tool:release
with:
args: changelog-tool verify
35 changes: 9 additions & 26 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: PR

on: pull_request
on:
pull_request:
paths:
- '**'
- '!**/*.md'
- '!**/*.yml'
- '!**/*.yaml'
- '!.ci-dockerfiles/**'
- '.github/workflows/pr.yml'

concurrency:
group: pr-${{ github.ref }}
Expand All @@ -10,31 +18,6 @@ permissions:
packages: read

jobs:
superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Lint codebase
uses: docker://github/super-linter:v3.8.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE: true
VALIDATE_MD: true
VALIDATE_YAML: true

verify-changelog:
name: Verify CHANGELOG is valid
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Verify CHANGELOG
uses: docker://ghcr.io/ponylang/changelog-tool:release
with:
args: changelog-tool verify

vs-release-ponyc-linux:
name: Test against recent ponyc release on Linux
runs-on: ubuntu-latest
Expand Down