diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..fcd38ec --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,6 @@ +# Set to true to add assignees to pull requests +addAssignees: true + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - mrgreyves diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 0000000..7ac2755 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,10 @@ +name: 'Auto Assign' +on: pull_request + +jobs: + add-reviews: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v1.2.4 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/devops-2023-09-tests.yml b/.github/workflows/devops-2023-09-tests.yml new file mode 100644 index 0000000..ee7ff9c --- /dev/null +++ b/.github/workflows/devops-2023-09-tests.yml @@ -0,0 +1,26 @@ +name: Run tests for OTUS homework + +on: + push: + branches-ignore: main + pull_request: + branches-ignore: main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout this repo + uses: actions/checkout@v2 + with: + ref: ${{ github.ref }} + - name: Checkout repo with tests + uses: actions/checkout@v2 + with: + repository: "express42/otus-homeworks" + ref: 2023-07 + path: "./otus-homeworks/" + + - name: Run tests + run: curl https://raw.githubusercontent.com/express42/otus-homeworks/2023-09/run.sh | bash