diff --git a/.github/workflow/main.yml b/.github/workflow/main.yml new file mode 100644 index 00000000..d77c6a70 --- /dev/null +++ b/.github/workflow/main.yml @@ -0,0 +1,64 @@ +name: Fetch JIRA Projects + +on: + push: + branches: + - main # Runs on every push to the main branch + workflow_dispatch: # Allows manual execution + +jobs: + fetch-jira: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Set Up Python + uses: actions/setup-python@v4 + with: + python-version: '3.9' + + - name: Install Dependencies + run: pip install requests + + - name: Fetch JIRA Projects + env: + JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }} + run: | + python - <