From 281bdfb13d88a28d9b682a3e793ab98c96727aa8 Mon Sep 17 00:00:00 2001 From: Vladimir Levin Date: Sun, 6 Aug 2023 19:31:58 +0900 Subject: [PATCH] Stable --- .github/workflows/auto-assign.yaml | 19 +++++++++++++++++++ README.md | 10 ++++++---- 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/auto-assign.yaml diff --git a/.github/workflows/auto-assign.yaml b/.github/workflows/auto-assign.yaml new file mode 100644 index 0000000..1072b80 --- /dev/null +++ b/.github/workflows/auto-assign.yaml @@ -0,0 +1,19 @@ +name: Auto Assign +on: + issues: + types: [opened] + pull_request: + types: [opened] +jobs: + run: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + assignees: opa-oz + numOfAssignee: 1 \ No newline at end of file diff --git a/README.md b/README.md index 883f3b1..45f661e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Yet another MinIO Upload GitHub Action +🥳Check also [Yet another MinIO Download GitHub Action](https://github.com/yakubique/minio-download) + Runs [minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) to upload file(s) to MinIO (self-hosted as well) ## Usage @@ -7,13 +9,13 @@ Runs [minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) to 1. Upload a file ```yaml - name: Upload to MinIO - uses: yakubique/minio-upload@v1.1.0 + uses: yakubique/minio-upload@v1.1 with: endpoint: ${{ secrets.MINIO_ENDPOINT }} access_key: ${{ secrets.MINIO_ACCESS_KEY }} secret_key: ${{ secrets.MINIO_SECRET_KEY }} bucket: my_bucket_name - source: ./my-build-1-0-1.tar.gz + source: ./my-build-1-1-0.tar.gz # Leading slash is required target: '/builds' ``` @@ -21,7 +23,7 @@ Runs [minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) to 2. Upload a directory ```yaml - name: Upload a directory to MinIO - uses: yakubique/minio-upload@vv1.1.0 + uses: yakubique/minio-upload@v1.1 with: endpoint: ${{ secrets.MINIO_ENDPOINT }} access_key: ${{ secrets.MINIO_ACCESS_KEY }} @@ -37,7 +39,7 @@ Runs [minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) to 3. Upload to the insecure MinIO instance (_http-only_) ```yaml - name: Upload to MinIO - uses: yakubique/minio-upload@v1.1.0 + uses: yakubique/minio-upload@v1.1 with: endpoint: ${{ secrets.MINIO_ENDPOINT }} access_key: ${{ secrets.MINIO_ACCESS_KEY }}