Skip to content

Commit

Permalink
feat: GitHub Actions (#367)
Browse files Browse the repository at this point in the history
* feat: add workflows

* chore: remove Buildkite configurations

* chore: update badges
  • Loading branch information
guidojw authored Nov 28, 2021
1 parent 0cbceed commit 561ca42
Show file tree
Hide file tree
Showing 17 changed files with 463 additions and 140 deletions.
14 changes: 0 additions & 14 deletions .buildkite/discord.sh

This file was deleted.

70 changes: 0 additions & 70 deletions .buildkite/pipeline.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .buildkite/release.sh

This file was deleted.

15 changes: 0 additions & 15 deletions .buildkite/sentry.sh

This file was deleted.

22 changes: 22 additions & 0 deletions .github/problem-matchers/eslint-stylish.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"problemMatcher": [
{
"owner": "eslint-stylish",
"pattern": [
{
"regexp": "^/app/([^\\s].*)$",
"file": 1
},
{
"regexp": "^\\s+(\\d+):(\\d+)\\s+(error|warning|info)\\s+(.*)\\s\\s+(.*)$",
"line": 1,
"column": 2,
"severity": 3,
"message": 4,
"code": 5,
"loop": true
}
]
}
]
}
18 changes: 18 additions & 0 deletions .github/problem-matchers/tsc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"problemMatcher": [
{
"owner": "tsc",
"pattern": [
{
"regexp": "^([^\\s].*)[\\(:](\\d+)[,:](\\d+)(?:\\):\\s+|\\s+-\\s+)(error|warning|info)\\s+TS(\\d+)\\s*:\\s*(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"code": 5,
"message": 6
}
]
}
]
}
8 changes: 4 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["config:base", ":preserveSemverRanges", ":disableDependencyDashboard"],
"extends": ["config:base", ":preserveSemverRanges", ":disableDependencyDashboard", "helpers:pinGitHubActionDigests"],
"labels": ["dependencies"],
"rangeStrategy": "bump",
"packageRules": [
Expand Down Expand Up @@ -27,11 +27,11 @@
"matchUpdateTypes": ["minor", "patch"],
"groupName": "Node.js",
"groupSlug": "nodejs"
},
{
"matchManagers": ["github-actions"]
}
],
"buildkite": {
"enabled": false
},
"docker-compose": {
"enabled": false
}
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/cleanup-registry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Cleanup Registry

on:
schedule:
- cron: '0 0 * * 1' # https://crontab.guru/#0_0_*_*_1
workflow_dispatch:

env:
IMAGE_NAMES: arora-discord

jobs:
cleanup:
name: Cleanup
runs-on: ubuntu-latest
steps:
- name: Delete old versions
uses: snok/container-retention-policy@455daa39a1817585ad2ef264650d3ff84b1c81d9 # renovate: tag=v1.2.1
with:
image-names: ${{ env.IMAGE_NAMES }}
cut-off: 2 days ago UTC
account-type: personal
skip-tags: latest,staging
token: ${{ secrets.PAT }}
Loading

0 comments on commit 561ca42

Please sign in to comment.