Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/dangerjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,7 @@ jobs:
pull-request-style-linter:
runs-on: ubuntu-latest
steps:
- name: Check out PR head
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: DangerJS pull request linter
uses: espressif/shared-github-dangerjs@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
instructions-contributions-file: CONTRIBUTING.rst
instructions-gitlab-mirror: 'true'
21 changes: 0 additions & 21 deletions .github/workflows/issue_comment.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/new_issues.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/new_prs.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/sync-jira.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: 🔷 Sync to Jira

run-name: >
Sync to Jira -
${{ github.event_name == 'issue_comment' && 'Issue Comment' ||
github.event_name == 'schedule' && 'New Pull Requests' ||
github.event_name == 'issues' && format('Issue ({0})', github.event.action) ||
github.event_name == 'workflow_dispatch' && 'Manual Sync' }}

on:
# No `types` under `issues` — runs on every issues activity (opened, edited, closed, labeled, …).
issues:
issue_comment:
types: [created, edited, deleted]
schedule:
- cron: 0 * * * *
workflow_dispatch:
inputs:
action:
description: Action to be performed
required: true
default: mirror-issues
issue-numbers:
description: Issue numbers to sync (comma-separated)
required: true

jobs:
sync-to-jira:
name: >
Sync to Jira -
${{ github.event_name == 'issue_comment' && 'Issue Comment' ||
github.event_name == 'schedule' && 'New Pull Requests' ||
github.event_name == 'issues' && format('Issue ({0})', github.event.action) ||
github.event_name == 'workflow_dispatch' && 'Manual Sync' }}
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- name: Run synchronization to Jira
uses: espressif/sync-jira-actions@v1
with:
cron_job: ${{ github.event_name == 'schedule' && 'true' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JIRA_PASS: ${{ secrets.JIRA_PASS }}
JIRA_PROJECT: IDFGH
JIRA_COMPONENT: tools
JIRA_URL: ${{ secrets.JIRA_URL }}
JIRA_USER: ${{ secrets.JIRA_USER }}
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ repos:
rev: 1.19.1
hooks:
- id: yamlfix
exclude: ^.github/workflows/.*\.ya?ml$
Loading