diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index d7fa616..5d57d6f 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -1,16 +1,16 @@ -name: 'lock closed issues/PRs' +name: 'Lock closed issues/PRs' on: schedule: - cron: '11 3 * * *' workflow_dispatch: jobs: lock: runs-on: ubuntu-latest steps: - uses: getsentry/forked-action-lock-threads@master with: github-token: ${{ github.token }} issue-lock-inactive-days: 15 issue-lock-reason: '' pr-lock-inactive-days: 15 pr-lock-reason: '' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3bf94a1..1d2afb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,32 +1,32 @@ -name: release +name: Release on: workflow_dispatch: inputs: version: description: Version to release (optional) required: false force: description: Force a release even when there are release-blockers (optional) required: false schedule: # We want the release to be at 10 or 11am Pacific Time # We also make this an hour after all others such as Sentry, # Snuba, and Relay to make sure their releases finish. - cron: "0 18 15 * *" jobs: release: runs-on: ubuntu-latest name: "Release a new version" steps: - uses: actions/checkout@v2 with: token: ${{ secrets.GH_RELEASE_PAT }} fetch-depth: 0 - name: Prepare release uses: getsentry/action-prepare-release@v1 env: GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }} with: version: ${{ github.event.inputs.version }} force: ${{ github.event.inputs.force }} calver: true diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 9344ce7..b2a339a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,47 +1,47 @@ -name: 'close stale issues/PRs' +name: 'Close stale issues/PRs' on: schedule: - cron: '* */6 * * *' workflow_dispatch: jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@87c2b794b9b47a9bec68ae03c01aeb572ffebdb1 with: repo-token: ${{ github.token }} days-before-stale: 21 days-before-close: 7 only-labels: "" operations-per-run: 100 remove-stale-when-updated: true debug-only: false ascending: false exempt-issue-labels: "Status: Accepted,Status: On Hold" stale-issue-label: "Status: Stale" stale-issue-message: |- This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it `Status: Accepted`, I will leave it alone ... forever! ---- "A weed is but an unloved flower." ― _Ella Wheeler Wilcox_ 🥀 skip-stale-issue-message: false close-issue-label: "" close-issue-message: "" exempt-pr-labels: "Status: Accepted,Status: On Hold" stale-pr-label: "Status: Stale" stale-pr-message: |- This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it `Status: Accepted`, I will leave it alone ... forever! ---- "A weed is but an unloved flower." ― _Ella Wheeler Wilcox_ 🥀 skip-stale-pr-message: false close-pr-label: close-pr-message: "" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3fdce0f..09c9195 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,47 +1,47 @@ -name: test +name: Test on: # Run CI on all pushes to the master and release/** branches, and on all new # pull requests, and on all pushes to pull requests (even if a pull request # is not against master). push: branches: - "master" - "releases/**" pull_request: env: DOCKER_COMPOSE_VERSION: 1.24.1 jobs: test: strategy: matrix: py2: ["", "1"] runs-on: ubuntu-18.04 name: "test${{ matrix.py2 == '1' && ' PY2' || ''}}" steps: - name: Pin docker-compose run: | sudo rm /usr/local/bin/docker-compose curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose chmod +x docker-compose sudo mv docker-compose /usr/local/bin - name: Checkout uses: actions/checkout@v2 - name: Install and test env: COMPOSE_PARALLEL_LIMIT: 50 COMPOSE_HTTP_TIMEOUT: 450 SENTRY_PYTHON2: ${{ matrix.py2 == '1' || '' }} run: | ./install.sh ./test.sh printf "Testing in-place upgrade" ./install.sh --minimize-downtime ./test.sh - name: Inspect failure if: failure() run: | docker-compose ps docker-compose logs