Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(replicate): Remove file replication workflow #3

Merged
merged 9 commits into from
Sep 4, 2024
Merged
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @3ware/repo-maintainers
2 changes: 1 addition & 1 deletion README.md → .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The main purpose of this repository is to host the README file for the 3ware GitHub page.

It is also used for hosting files that can be shared to all 3ware repositories.
It is also used for hosting files that can be shared to all 3ware repositories.
28 changes: 28 additions & 0 deletions .github/workflows/delete-workflow-run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Delete old workflow runs
on:
schedule:
- cron: 0 0 1 * *
workflow_call: {}

# Disable permissions for all available scopes
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.repository }}
cancel-in-progress: true

jobs:
delete-workflow-run:
permissions:
actions: write
contents: read
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@39f0bbed25d76b34de5594dceab824811479e5de # v2.0.6
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 90
keep_minimum_runs: 14
14 changes: 14 additions & 0 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR Check
on:
pull_request:
types: [opened, edited, synchronize]

# Disable permissions for all available scopes
permissions: {}

jobs:
validate-pr-title:
name: Validate PR title
permissions:
pull-requests: write
uses: 3ware/workflows/.github/workflows/pr-title.yaml@5cf20b3ba1cfdbe501dd2595dfb4ade9360641d8 # v3.1.0
1 change: 0 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module.exports = {
".github",
"pr-check",
"release",
"replicate",
"trunk"
],
],
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Welcome to the 3ware GitHub profile.

Here we share some code for the projects we've been working on, including managing our own website with Hugo and GitHub Pages, reusable GitHub Actions and managing our repositories with terraform / opentofu.
Here we share some code for the projects we've been working on, including managing our own website with Hugo and GitHub Pages, reusable GitHub Actions and managing our repositories with terraform / opentofu.