diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-09-07 11:15:56 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-09-07 11:15:56 -0400 |
commit | b8e67774397f2878aafc5906845f5f738e00c408 (patch) | |
tree | 02ed12e0d5534fbf71f3ab8ce222d7508d73166d /.github | |
parent | 755f9d9ac9548e27d68ec701676e20c4824833f8 (diff) | |
parent | d454512050e636a19e4b7545515dea4f4b1bbf0d (diff) |
SL-18837: Merge branch 'main' into actions
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yaml | 9 | ||||
-rw-r--r-- | .github/workflows/pre-commit.yaml | 18 | ||||
-rw-r--r-- | .github/workflows/stale.yaml | 4 |
3 files changed, 26 insertions, 5 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 025fc1560e..69a7e4b6a6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,7 +4,7 @@ on: workflow_dispatch: pull_request: push: - branches: ["actions*"] + branches: [main, "actions*"] tags: ["*"] jobs: @@ -12,11 +12,14 @@ jobs: strategy: matrix: runner: [windows-large, macos-12-xl] - configuration: [Release] + configuration: [Release, ReleaseOS] python-version: ["3.11"] include: - runner: macos-12-xl developer_dir: "/Applications/Xcode_14.0.1.app/Contents/Developer" + exclude: + - runner: macos-12-xl + configuration: ReleaseOS runs-on: ${{ matrix.runner }} outputs: viewer_channel: ${{ steps.build.outputs.viewer_channel }} @@ -75,7 +78,7 @@ jobs: repository: secondlife/master-message-template path: .master-message-template - - name: Install autobuild + - name: Install autobuild and python dependencies run: pip3 install autobuild llsd - name: Cache autobuild packages diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml new file mode 100644 index 0000000000..17c0ace02f --- /dev/null +++ b/.github/workflows/pre-commit.yaml @@ -0,0 +1,18 @@ +name: pre-commit + +on: + pull_request: + push: + branches: [main, contribute] + tags: [v*] + + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 82a9a968b9..35ac41420c 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -15,8 +15,8 @@ jobs: - uses: actions/stale@v6 id: stale with: - stale-pr-message: This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 7 days - days-before-stale: 60 + stale-pr-message: This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 7 days + days-before-stale: 30 days-before-close: 7 exempt-pr-labels: blocked,must,should,keep stale-pr-label: stale |