[Feature]: Use Kubernetes OPA for custom admission webhooks support from Users DSL #36
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 on issue | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
create_jira: | |
name: Create JIRA on NPT Project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Create JIRA | |
env: | |
EVENT_CONTEXT: ${{ toJSON(github.event) }} | |
JIRA_SERVER: ${{ secrets.JIRASERVER }} | |
JIRA_USER: ${{ secrets.JIRAUSER }} | |
JIRA_PWD: ${{ secrets.JIRAPASSWORD }} | |
GITHUBTOKEN: ${{ secrets.GITHUBTOKEN }} | |
run: | | |
set -x | |
pip install jira | |
python create_jira.py |