Metrics Not Scraping Due to Token Authentication Requirement #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Jira task | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
create-jira-issue: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Create Jira task | |
id: create-jira-task | |
uses: tomhjp/[email protected] | |
env: | |
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | |
with: | |
project: OSC | |
issuetype: "Task" | |
summary: "[sumologic-kubernetes-collection] ${{ github.event.issue.title }} #${{ github.event.issue.number }}" | |
description: "${{ github.event.issue.body }}\n\nSee: ${{github.event.issue.html_url}}" | |
extraFields: | |
'{"labels": ["github_issue", "opensource_gardener"], "priority": {"name": "High"}, "assignee": {"id": "${{ secrets.JIRA_USER_ID | |
}}"}}' |