Skip to content

Commit d3aa820

Browse files
authored
Merge branch 'block:main' into main
2 parents 6122ce4 + 78fe007 commit d3aa820

File tree

201 files changed

+18184
-1916
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+18184
-1916
lines changed

.github/workflows/cargo-deny.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
jobs:
1919
deny:
2020
runs-on: ubuntu-latest
21+
if: github.repository == 'block/goose'
2122
permissions:
2223
contents: read
2324
steps:

.github/workflows/minor-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
jobs:
1313
release:
14+
if: github.repository == 'block/goose'
1415
uses: ./.github/workflows/create-release-pr.yaml
1516
with:
1617
bump_type: "minor"

.github/workflows/pr-comment-bundle-intel.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,25 @@ jobs:
9191
body: |
9292
### macOS Intel Desktop App (x64)
9393
94-
[💻 Download macOS Desktop App (Intel x64, signed)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-x64.zip)
94+
[💻 Download macOS Desktop App (Intel x64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-x64.zip)
9595
9696
**Instructions:**
97-
After downloading, unzip the file and drag the goose.app to your Applications folder. The app is signed and notarized for macOS.
98-
99-
This link is provided by nightly.link and will work even if you're not logged into GitHub.
97+
98+
The easiest way is to just run the following script:
99+
100+
`./scripts/pre-release.sh`
101+
102+
script which will download the latest release (or you can specify the release you need), does the
103+
unzip, xattr to get it out of quarantine and signs it.
104+
105+
If you need to do this manually:
106+
107+
* Download the file
108+
* Unzip
109+
* run `xattr -r -d com.apple.quarantine '/path/to/Goose.app'`
110+
* optionally run `codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'`
111+
* start the app
112+
113+
The signing step is only needed if you do something that uses mac entitlements like speech to text
114+
115+
This link is provided by nightly.link and will work even if you're not logged into GitHub.

.github/workflows/rebuild-skills-marketplace.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ concurrency:
2323
jobs:
2424
rebuild-docs:
2525
runs-on: ubuntu-latest
26+
if: github.repository == 'block/goose'
2627
permissions:
2728
contents: write
2829

.github/workflows/release-branches.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,20 @@ jobs:
2727
[📱 Download macOS Desktop App (arm64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-arm64.zip)
2828
2929
**Instructions:**
30-
After downloading, unzip the file and drag the goose.app to a location you prefer. The app is unsigned, so to run it run `xattr -r -d com.apple.quarantine '/path/to/goose.app'` and then open the app
31-
32-
**To test speech-to-text**, you also need to codesign the app with the microphone entitlement:
33-
```
34-
codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'
35-
```
30+
31+
The easiest way is to just run the following script:
32+
33+
`./scripts/pre-release.sh`
34+
35+
script which will download the latest release (or you can specify the release you need), does the
36+
unzip, xattr to get it out of quarantine and signs it.
37+
38+
If you need to do this manually:
39+
40+
* Download the file
41+
* Unzip
42+
* run `xattr -r -d com.apple.quarantine '/path/to/Goose.app'`
43+
* optionally run `codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'`
44+
* start the app
45+
46+
The signing step is only needed if you do something that uses mac entitlements like speech to text

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
name: Scorecard analysis
2323
runs-on: ubuntu-latest
2424
# `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
25-
if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request'
25+
if: github.repository == 'block/goose' && (github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request')
2626
permissions:
2727
# Needed to upload the results to code-scanning dashboard.
2828
security-events: write

.github/workflows/stale.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
stale:
2525
name: 'Mark and Close Stale PRs'
2626
runs-on: ubuntu-latest
27+
if: github.repository == 'block/goose'
2728

2829
steps:
2930
# Use the official stale action from GitHub

.github/workflows/update-hacktoberfest-leaderboard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
update-leaderboard:
1111
runs-on: ubuntu-latest
12+
if: github.repository == 'block/goose'
1213
permissions:
1314
contents: read
1415
pull-requests: read

.github/workflows/update-health-dashboard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
update-dashboard:
2424
name: 'Update Health Dashboard'
2525
runs-on: ubuntu-latest
26+
if: github.repository == 'block/goose'
2627

2728
steps:
2829
- name: 'Download previous metrics'

0 commit comments

Comments
 (0)