Skip to content

Commit

Permalink
Use default runners, disable schedule by default (#119965)
Browse files Browse the repository at this point in the history
  • Loading branch information
dapirian authored Oct 1, 2024
1 parent 3758dce commit 4d9a019
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .config/mq.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sleep_for = "10m"
[pullrequest]
labels = "bot-pr" # label to apply to pull request on creation (comma separated list)
comment = ""
requests_per_hour = 20 # target number of pull requests per hour
requests_per_hour = 20 # target number of pull requests per hour
run_generate_for = "30 minutes"

# the max number of deps in this repo. setting to 3 for example will cause
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ name: PR Factory

on:
workflow_dispatch: {}
schedule:
- cron: "0/30 * * * *"
# Uncomment the following cron schedule to run this workflow every 30 minutes
# schedule:
# - cron: 0/30 * * * *

jobs:
create-pr:
# needs: merge-pr
runs-on: [ubicloud]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/housekeeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ on:
jobs:
housekeeping:
name: Cleanup old branches
runs-on: ubicloud
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run delete-old-branches-action
uses: beatlabs/delete-old-branches-action@v0.0.10
with:
repo_token: ${{ github.token }}
date: "1 day ago"
date: 1 day ago
dry_run: false
delete_tags: true
minimum_tags: 5
extra_protected_branch_regex: ^(main)$
extra_protected_tag_regex: "^v.*"
extra_protected_tag_regex: ^v.*
exclude_open_pr_branches: true
3 changes: 1 addition & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# trunk-ignore-all(semgrep/yaml.github-actions.security.third-party-action-not-pinned-to-commit-sha.third-party-action-not-pinned-to-commit-sha)
name: PR Testing
run-name: PR Checks for ${{ github.ref_name }}
on:
Expand All @@ -10,7 +9,7 @@ on:
jobs:
test:
name: run tests to validate pr
runs-on: ubicloud
runs-on: ubuntu-latest
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pr_targets.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# trunk-ignore-all(semgrep/yaml.github-actions.security.third-party-action-not-pinned-to-commit-sha.third-party-action-not-pinned-to-commit-sha)

name: Upload Impacted Targets
run-name: pr targets for ${{ github.ref_name }}
on: pull_request

jobs:
compute_pr_targets:
name: compute
runs-on: ubicloud
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

tag_and_release:
name: Tag and Release [ ${{ github.event.inputs.release_tag }} ]
runs-on: [ubicloud]
runs-on: ubuntu-latest
needs: [build]

steps:
Expand Down
6 changes: 3 additions & 3 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version: 0.1
cli:
version: 1.21.0
version: 1.22.6
plugins:
sources:
- id: trunk
ref: v1.4.5
ref: v1.6.3
uri: https://github.com/trunk-io/plugins
- id: configs
uri: https://github.com/trunk-io/configs
ref: v1.0.4
ref: v1.0.8
runtimes:
enabled:
- node@18.12.1
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- trunk-ignore-all(markdownlint/MD041) -->

![light-complex (3)](https://github.com/trunk-io/mergequeue/assets/1265982/ded3489b-eef7-482f-b94f-0d944c1d93ce)

### Welcome
Expand Down

0 comments on commit 4d9a019

Please sign in to comment.