diff --git a/.github/workflows/clone_issue.yaml b/.github/workflows/clone_issue.yaml new file mode 100644 index 0000000..69b807a --- /dev/null +++ b/.github/workflows/clone_issue.yaml @@ -0,0 +1,23 @@ +name: Clone Issue to Repositories + +on: + issues: + types: [labeled] + +jobs: + clone-issue: + runs-on: ubuntu-latest + permissions: write-all + + steps: + - name: Clone issue to labeled repository + run: | + gh api \ + --method POST \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + /repos/wwi21seb-projekt/${{ github.event.label.name }}/issues \ + -f title='${{ github.event.issue.title }}' \ + -f body='${{ github.event.issue.body }}' + env: + GITHUB_TOKEN: ${{ secrets.GH_ACTION_PAT }} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc8a670 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/* \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/contract-discussions.iml b/.idea/contract-discussions.iml new file mode 100644 index 0000000..5e764c4 --- /dev/null +++ b/.idea/contract-discussions.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..91e3c91 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file