Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into initialize-context
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Apr 18, 2024
2 parents ddb0926 + f2c3f3b commit b7d303b
Show file tree
Hide file tree
Showing 68 changed files with 1,457 additions and 938 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/0_bug.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Bug Report
description: Create a bug report.
labels:
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/1_feature.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Feature Request
description: Create a feature request.
labels:
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/2_documentation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Documentation
description: Create a documentation related issue.
labels:
Expand Down
78 changes: 68 additions & 10 deletions .github/ISSUE_TEMPLATE/epic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Epic
description: A collection of related tickets.
labels:
Expand All @@ -25,23 +24,82 @@ body:
options:
- label: I added a descriptive title
required: true
- label: I searched open reports and couldn't find a duplicate
- label: I searched open issues and couldn't find a duplicate
required: true

- type: textarea
id: summary
id: what
attributes:
label: Summary
label: What?
description: >-
Define the highlevel objectives to be accomplished in this epic. Include the
bigger picture of what is changing and/or the user story for why the
changes are desired/necessary.
What feature or problem will be addressed in this epic?
placeholder: Please describe here.
validations:
required: true

- type: textarea
id: why
attributes:
label: Linked Issues & PRs
description: List all issues related to this epic.
label: Why?
description: >-
Why is the reported issue(s) a problem, or why is the proposed feature needed?
(Research and spike issues can be linked here.)
value: |
- [ ] #
- [ ] <supporting issue from user, research, or spike>
placeholder: Please describe here and/or link to relevant supporting issues.
validations:
required: true

- type: textarea
id: user_impact
attributes:
label: User impact
description: >-
In what specific way(s) will users benefit from this change? (e.g. use cases or performance improvements)
placeholder: Please describe here.
validations:
required: true

- type: textarea
id: goals
attributes:
label: Goals
description: >-
What goal(s) should this epic accomplish?
value: |
- [ ] <goal>
validations:
required: true

- type: textarea
id: tasks
attributes:
label: Tasks
description: >-
What needs to be done to implement this change?
value: |
- [ ] <task or PR>
validations:
required: false

- type: textarea
id: blocked_by
attributes:
label: 'This epic is blocked by:'
description: >-
Epics and issues that block this epic.
value: |
- [ ] <dependency epic or issue>
validations:
required: false

- type: textarea
id: blocks
attributes:
label: 'This epic blocks:'
description: >-
Epics and issues that are blocked by this epic.
value: |
- [ ] <dependency epic or issue>
validations:
required: false
19 changes: 9 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip"
directory: "/docs/"
- package-ecosystem: pip
directory: /docs/
schedule:
interval: "weekly"
interval: weekly
allow:
# Allow only production updates for Sphinx
- dependency-name: "sphinx"
dependency-type: "production"
- dependency-name: sphinx
dependency-type: production
- package-ecosystem: github-actions
directory: /.github/workflows
schedule:
interval: weekly
42 changes: 6 additions & 36 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,9 @@
# Builds
- name: build::review
description: trigger a build for this PR
color: "7B4052"
- name: build::review
description: trigger a build for this PR
color: '#7b4052'

# Tags
- name: tag::noarch
description: related to noarch builds
color: "86C579"
aliases: []

# Deprecated
- name: 3_In_Progress
description: "[deprecated] use milestones/project boards"
color: "888888"
- name: 4_Needs_Review
description: "[deprecated] use milestones/project boards"
color: "888888"
- name: effort-high
description: "[deprecated]"
color: "888888"
- name: effort-low
description: "[deprecated] use good-first-issue"
color: "888888"
- name: effort-medium
description: "[deprecated]"
color: "888888"
- name: in_progress
description: "[deprecated] use milestones/project boards"
color: "888888"
- name: knowledge-high
description: "[deprecated]"
color: "888888"
- name: knowledge-low
description: "[deprecated] use good-first-issue"
color: "888888"
- name: knowledge-medium
description: "[deprecated]"
color: "888888"
- name: tag::noarch
description: related to noarch builds
color: '#86c579'
6 changes: 3 additions & 3 deletions .github/workflows/builds-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ${{ matrix.runner }}
steps:
- name: Remove build label
uses: actions/github-script@v6
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
with:
github-token: ${{ secrets.CANARY_ACTION_TOKEN }}
script: |
Expand All @@ -46,14 +46,14 @@ jobs:
# Clean checkout of specific git ref needed for package metadata version
# which needs env vars GIT_DESCRIBE_TAG and GIT_BUILD_STR:
- uses: actions/checkout@v3
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
with:
ref: ${{ github.ref }}
clean: true
fetch-depth: 0

- name: Create and upload review build
uses: conda/actions/canary-release@v23.7.0
uses: conda/actions/canary-release@f46142e89fa703cc69f0421ca1d313ab2d5bfff6
with:
package-name: ${{ github.event.repository.name }}
subdir: ${{ matrix.subdir }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: CLA

on:
Expand All @@ -19,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check CLA
uses: conda/actions/check-cla@v24.2.0
uses: conda/actions/check-cla@f46142e89fa703cc69f0421ca1d313ab2d5bfff6
with:
# [required]
# A token with ability to comment, label, and modify the commit status
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ on:
branches:
- main
paths:
- '.github/workflows/docs.yml'
- 'docs/**'
- .github/workflows/docs.yml
- docs/**

# NOTE: github.event context is pull_request payload:
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request
pull_request:
paths:
- '.github/workflows/docs.yml'
- 'docs/**'
- .github/workflows/docs.yml
- docs/**

jobs:
docs:
if: '!github.event.repository.fork'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
with:
fetch-depth: 0
- name: Setup
run : |
run: |
make env-docs
- name: Build the docs
run : |
run: |
cd docs
conda run --name conda-build-docs make html
5 changes: 2 additions & 3 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Automate Issues

on:
Expand All @@ -24,12 +23,12 @@ jobs:
runs-on: ubuntu-latest
steps:
# remove [pending::feedback]
- uses: actions-ecosystem/action-remove-labels@v1.3.0
- uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0
with:
labels: ${{ env.FEEDBACK_LBL }}
github_token: ${{ secrets.PROJECT_TOKEN }}
# add [pending::support], if still open
- uses: actions-ecosystem/action-add-labels@v1.1.3
- uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf
if: github.event.issue.state == 'open'
with:
labels: ${{ env.SUPPORT_LBL }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Sync Labels

on:
Expand All @@ -20,20 +19,20 @@ jobs:
GLOBAL: https://raw.githubusercontent.com/conda/infra/main/.github/global.yml
LOCAL: .github/labels.yml
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- id: has_local
uses: andstor/file-existence-action@v3.0.0
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6
with:
files: ${{ env.LOCAL }}
- name: Global Only
uses: EndBug/label-sync@v2.3.3
uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a
if: steps.has_local.outputs.files_exists == 'false'
with:
config-file: ${{ env.GLOBAL }}
delete-other-labels: true
dry-run: ${{ github.event.inputs.dryrun }}
- name: Global & Local
uses: EndBug/label-sync@v2.3.3
uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a
if: steps.has_local.outputs.files_exists == 'true'
with:
config-file: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Lock

on:
Expand All @@ -18,7 +17,7 @@ jobs:
if: '!github.event.repository.fork'
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771
with:
# Number of days of inactivity before a closed issue is locked
issue-inactive-days: 365
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Add to Project

on:
Expand All @@ -14,7 +13,7 @@ jobs:
if: '!github.event.repository.fork'
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.0
- uses: actions/add-to-project@9bfe908f2eaa7ba10340b31e314148fcfe6a2458
with:
# issues are added to the Planning project
# PRs are added to the Review project
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Stale

on:
Expand Down Expand Up @@ -34,12 +33,12 @@ jobs:
days-before-issue-stale: 90
days-before-issue-close: 21
steps:
- uses: conda/actions/read-yaml@v24.2.0
- uses: conda/actions/read-yaml@f46142e89fa703cc69f0421ca1d313ab2d5bfff6
id: read_yaml
with:
path: https://raw.githubusercontent.com/conda/infra/main/.github/messages.yml

- uses: actions/stale@v9
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
id: stale
with:
# Only issues with these labels are checked whether they are stale
Expand Down
Loading

0 comments on commit b7d303b

Please sign in to comment.