chore(aaif): rename a bunch of repository references (#8152)
Signed-off-by: Michael Neale <michael.neale@gmail.com> Co-authored-by: Michael Neale <michael.neale@gmail.com> continuing migration to aaif
This commit is contained in:
@@ -18,7 +18,7 @@ on:
|
||||
jobs:
|
||||
deny:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'block/goose'
|
||||
if: github.repository == 'aaif-goose/goose'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
|
||||
@@ -16,7 +16,7 @@ on:
|
||||
jobs:
|
||||
machete:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'block/goose'
|
||||
if: github.repository == 'aaif-goose/goose'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
timeout-minutes: 15
|
||||
|
||||
container:
|
||||
image: ghcr.io/block/goose:latest
|
||||
image: ghcr.io/aaif-goose/goose:latest
|
||||
options: --user root
|
||||
env:
|
||||
HOME: /tmp/goose-home
|
||||
|
||||
@@ -49,10 +49,10 @@ jobs:
|
||||
fetch-tags: true # Fetch all tags so we can checkout version tags
|
||||
|
||||
- name: Fetch upstream tags (for forks)
|
||||
if: github.repository != 'block/goose'
|
||||
if: github.repository != 'aaif-goose/goose'
|
||||
run: |
|
||||
# Add upstream remote and fetch tags (only needed when testing in forks)
|
||||
git remote add upstream https://github.com/block/goose.git || git remote set-url upstream https://github.com/block/goose.git
|
||||
git remote add upstream https://github.com/aaif-goose/goose.git || git remote set-url upstream https://github.com/aaif-goose/goose.git
|
||||
git fetch upstream --tags --force
|
||||
echo "✅ Fetched tags from upstream (fork mode)"
|
||||
echo "Total tags available: $(git tag | wc -l)"
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
- name: Install goose CLI
|
||||
run: |
|
||||
mkdir -p /home/runner/.local/bin
|
||||
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh \
|
||||
curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh \
|
||||
| CONFIGURE=false GOOSE_BIN_DIR=/home/runner/.local/bin bash
|
||||
echo "/home/runner/.local/bin" >> $GITHUB_PATH
|
||||
goose --version
|
||||
|
||||
@@ -47,10 +47,10 @@ jobs:
|
||||
fetch-tags: true # Fetch all tags so we can checkout version tags
|
||||
|
||||
- name: Fetch upstream tags (for forks)
|
||||
if: github.repository != 'block/goose'
|
||||
if: github.repository != 'aaif-goose/goose'
|
||||
run: |
|
||||
# Add upstream remote and fetch tags (only needed when testing in forks)
|
||||
git remote add upstream https://github.com/block/goose.git || git remote set-url upstream https://github.com/block/goose.git
|
||||
git remote add upstream https://github.com/aaif-goose/goose.git || git remote set-url upstream https://github.com/aaif-goose/goose.git
|
||||
git fetch upstream --tags --force
|
||||
echo "✅ Fetched tags from upstream (fork mode)"
|
||||
echo "Total tags available: $(git tag | wc -l)"
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
- name: Install goose CLI
|
||||
run: |
|
||||
mkdir -p /home/runner/.local/bin
|
||||
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh \
|
||||
curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh \
|
||||
| CONFIGURE=false GOOSE_BIN_DIR=/home/runner/.local/bin bash
|
||||
echo "/home/runner/.local/bin" >> $GITHUB_PATH
|
||||
goose --version
|
||||
|
||||
@@ -131,7 +131,7 @@ jobs:
|
||||
timeout-minutes: 30
|
||||
|
||||
container:
|
||||
image: ghcr.io/block/goose:latest
|
||||
image: ghcr.io/aaif-goose/goose:latest
|
||||
options: --user root
|
||||
env:
|
||||
GOOSE_PROVIDER: ${{ vars.GOOSE_PROVIDER || 'anthropic' }}
|
||||
|
||||
@@ -223,7 +223,7 @@ jobs:
|
||||
timeout-minutes: 15
|
||||
|
||||
container:
|
||||
image: ghcr.io/block/goose:latest
|
||||
image: ghcr.io/aaif-goose/goose:latest
|
||||
options: --user root
|
||||
env:
|
||||
GOOSE_PROVIDER: ${{ vars.GOOSE_PROVIDER || 'anthropic' }}
|
||||
|
||||
@@ -51,7 +51,7 @@ env:
|
||||
- 📚 **Documentation** - Documentation updates
|
||||
|
||||
Format each item as:
|
||||
- Concise description [#XXXX](https://github.com/block/goose/pull/XXXX)
|
||||
- Concise description [#XXXX](https://github.com/aaif-goose/goose/pull/XXXX)
|
||||
|
||||
Rules:
|
||||
- Extract PR numbers from commit messages (look for (#XXXX) pattern)
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
github.event.workflow_run.head_branch != 'stable')
|
||||
|
||||
container:
|
||||
image: ghcr.io/block/goose:latest
|
||||
image: ghcr.io/aaif-goose/goose:latest
|
||||
options: --user root
|
||||
env:
|
||||
GOOSE_PROVIDER: ${{ vars.GOOSE_PROVIDER || 'anthropic' }}
|
||||
@@ -190,7 +190,7 @@ jobs:
|
||||
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_RELEASE_BOT_TOKEN }}
|
||||
DISCORD_CHANNEL_ID: ${{ secrets.DISCORD_RELEASE_BOT_CHANNEL_ID }}
|
||||
RELEASE_TAG: ${{ needs.generate-release-notes.outputs.release_tag }}
|
||||
RELEASE_URL: https://github.com/block/goose/releases/tag/${{ needs.generate-release-notes.outputs.release_tag }}
|
||||
RELEASE_URL: https://github.com/aaif-goose/goose/releases/tag/${{ needs.generate-release-notes.outputs.release_tag }}
|
||||
RELEASE_NOTES: ${{ needs.generate-release-notes.outputs.release_notes }}
|
||||
NOTES_LENGTH: ${{ needs.generate-release-notes.outputs.notes_length }}
|
||||
shell: bash
|
||||
|
||||
@@ -11,7 +11,7 @@ on:
|
||||
|
||||
jobs:
|
||||
release:
|
||||
if: github.repository == 'block/goose'
|
||||
if: github.repository == 'aaif-goose/goose'
|
||||
uses: ./.github/workflows/create-version-bump-pr.yaml
|
||||
secrets:
|
||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
|
||||
@@ -17,6 +17,9 @@ concurrency:
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Checkout the branch
|
||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
@@ -41,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Deploy preview
|
||||
uses: rossjrw/pr-preview-action@ffa7509e91a3ec8dfc2e5536c4d5c1acdf7a6de9 # v1.8.1
|
||||
if: ${{ github.event.pull_request.head.repo.full_name == 'block/goose' }}
|
||||
if: ${{ github.event.pull_request.head.repo.full_name == 'aaif-goose/goose' }}
|
||||
with:
|
||||
source-dir: documentation/build
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ concurrency:
|
||||
jobs:
|
||||
rebuild-docs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'block/goose'
|
||||
if: github.repository == 'aaif-goose/goose'
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
name: Scorecard analysis
|
||||
runs-on: ubuntu-latest
|
||||
# `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
|
||||
if: github.repository == 'block/goose' && (github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request')
|
||||
if: github.repository == 'aaif-goose/goose' && (github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request')
|
||||
permissions:
|
||||
# Needed to upload the results to code-scanning dashboard.
|
||||
security-events: write
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
stale:
|
||||
name: 'Mark and Close Stale PRs'
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'block/goose'
|
||||
if: github.repository == 'aaif-goose/goose'
|
||||
|
||||
steps:
|
||||
# Use the official stale action from GitHub
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
find-untested-code:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/block/goose:latest
|
||||
image: ghcr.io/aaif-goose/goose:latest
|
||||
options: --user root
|
||||
env:
|
||||
GOOSE_PROVIDER: ${{ vars.GOOSE_PROVIDER || 'openai' }}
|
||||
|
||||
@@ -9,7 +9,7 @@ on:
|
||||
jobs:
|
||||
update-leaderboard:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'block/goose'
|
||||
if: github.repository == 'aaif-goose/goose'
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
|
||||
// Track the Goose repo only
|
||||
const REPOS = [
|
||||
'block/goose'
|
||||
'aaif-goose/goose'
|
||||
];
|
||||
|
||||
const POINT_VALUES = { small: 5, medium: 10, large: 15 };
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
update-dashboard:
|
||||
name: 'Update Health Dashboard'
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'block/goose'
|
||||
if: github.repository == 'aaif-goose/goose'
|
||||
|
||||
steps:
|
||||
- name: 'Download previous metrics'
|
||||
|
||||
Reference in New Issue
Block a user