.github/workflows/jira-exporter.yml #84
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
# jira Exporter Workflow | |
# This workflow responsible for running jira exporter. | |
# integration.config.jira_host: The URL of your Jira, for example: https://example.atlassian.net | |
# integration.secrets.atlassian_user_email: The email of the user used to query Jira | |
# integration.secrets.atlassian_user_token: Jira API token generated by the user specified under atlassianUserEmail | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 */1 * * *" # Determines the scheduled interval for this workflow. This example runs every hour. | |
jobs: | |
run-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run jira Integration | |
uses: port-labs/ocean-sail@v1 | |
with: | |
type: jira | |
port_client_id: ${{ secrets.PORT_CLIENT_ID }} | |
port_client_secret: ${{ secrets.PORT_CLIENT_SECRET }} | |
config: | | |
jira_host: "https://matangrady.atlassian.net" | |
atlassian_user_email: ${{ secrets.atlassianUserEmail }} | |
atlassian_user_token: ${{ secrets.atlassianUserToken }} |