Skip to content

Commit

Permalink
Merge pull request #12 from ASFHyP3/revive
Browse files Browse the repository at this point in the history
Revive the repository using our current hyp3-cookiecutter
  • Loading branch information
forrestfwilliams authored Apr 22, 2024
2 parents 70f2486 + 5d3f2b8 commit bfde419
Show file tree
Hide file tree
Showing 33 changed files with 630 additions and 402 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# These owners will be requested for review when someone opens a pull request.
* @ASFHyP3/plugins
19 changes: 8 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.
### The bug
<!-- Please include a clear and concise description of what the bug is. Describe
what actually happened *and* what you expected to happen. -->

**To Reproduce**
Steps to reproduce the behavior:
### To Reproduce
<!-- Please include the steps to reproduce the behavior. E.g.,
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
4. See error -->

**Expected behavior**
A clear and concise description of what you expected to happen.


**Additional context**
Add any other context about the problem here.
### Additional context
<!-- Add any other context or screenshots about the bug here. -->
17 changes: 8 additions & 9 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ labels: enhancement
assignees: ''

---
### Background
<!-- Please include a clear and concise description of *the problem* this feature would solve. -->

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
### Alternatives
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
### Additional context
<!-- Add any other context or screenshots about the feature request here. -->
37 changes: 0 additions & 37 deletions .github/PULL_REQUEST_TEMPLATE/release.md

This file was deleted.

8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "bumpless"
28 changes: 0 additions & 28 deletions .github/queries/associated-pr.query.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/queries/pr-labels.query.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Changelog updated?

on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
branches:
- main
- develop

jobs:
call-changelog-check-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
secrets:
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/labeled-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Is PR labeled?

on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
branches:
- main

jobs:
call-labeled-pr-check-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
17 changes: 17 additions & 0 deletions .github/workflows/release-checklist-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Create Release Comment

on:
pull_request:
types:
- opened
branches:
- main

jobs:
call-release-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
permissions:
pull-requests: write
secrets:
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Create Release

on:
push:
tags:
- 'v*'

jobs:
call-release-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
release_prefix: HyP3 back-projection
release_branch: main
develop_branch: develop
sync_pr_label: actions-bot
secrets:
USER_TOKEN: ${{ secrets.GITHUB_PAK }}
14 changes: 14 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Static analysis

on: push

jobs:
call-secrets-analysis-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]

call-flake8-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
local_package_names: hyp3_back_projection
16 changes: 16 additions & 0 deletions .github/workflows/tag-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Tag New Version

on:
push:
branches:
- main

jobs:
call-bump-version-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
user: tools-bot
email: [email protected]
secrets:
USER_TOKEN: ${{ secrets.GITHUB_PAK }}
36 changes: 36 additions & 0 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test and build

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

jobs:
call-pytest-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
local_package_name: hyp3_back_projection
python_versions: >-
["3.10", "3.11", "3.12"]
call-version-info-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]

call-docker-ghcr-workflow:
needs: call-version-info-workflow
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }}
release_branch: main
develop_branch: develop
user: tools-bot
secrets:
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit bfde419

Please sign in to comment.