Skip to content
9 changes: 8 additions & 1 deletion .github/workflows/issue_to_jira.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
name: Create JIRA issue
permissions:
contents: read
issues: write

on:
issues:
types: [opened]

jobs:
call-workflow-create-jira-issue:
if: startsWith(github.repository, 'MiraGeoscience/') # run on the Mira repo only
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-issue_to_jira.yml@main
secrets: inherit
secrets:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
with:
project-key: 'GEOPY'
components: '[{"name": "geoapps"}]'
16 changes: 13 additions & 3 deletions .github/workflows/pr_add_jira_summary.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
name: Add JIRA issue summary

on:
pull_request_target:
types: [opened, synchronize]
pull_request:
types: [opened]
permissions:
contents: read
pull-requests: write

jobs:
call-workflow-add-jira-issue-summary:
if: startsWith(github.event.pull_request.head.repo.full_name, 'MiraGeoscience/') # run if PR originates from the Mira repo only
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_add_jira_summary.yml@main
secrets: inherit
permissions:
contents: read
pull-requests: write
secrets:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
9 changes: 8 additions & 1 deletion .github/workflows/python_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,28 @@ concurrency:
jobs:
call-workflow-static-analysis:
name: Static analysis
permissions:
contents: read
pull-requests: read
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-static_analysis.yml@main
with:
package-manager: 'conda'
app-name: 'geoapps'
python-version: '3.10'

call-workflow-pytest:
name: Pytest
permissions:
contents: read
pull-requests: read
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-pytest.yml@main
with:
package-manager: 'conda'
python-versions: '["3.10"]'
os: '["ubuntu-latest", "windows-latest"]'
lfs: true
cache-number: 1
codecov-reference-python-version: '3.10'
codecov-reference-os: '["windows-latest"]'
lfs: true
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/zizmor-security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Zizmor analysis

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**
push:
branches:
- main
- develop
- feature/**
- hotfix/**
- release/**

jobs:
call-workflow-zizmor:
name: Zizmor analysis
permissions:
contents: read
actions: read
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-security.yml@main
Loading