From 0423ee6f9d8ea439baffcda3d6c84b966e8b813f Mon Sep 17 00:00:00 2001 From: Pranav Kumar Mishra <62562712+pranavmishra90@users.noreply.github.com> Date: Mon, 30 Dec 2024 00:51:35 -0600 Subject: [PATCH 1/3] ci: commenting out matrix messages temporarily --- .github/workflows/build-and-push.yml | 42 ++++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 311f2d4..eb1f12a 100755 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -37,24 +37,24 @@ jobs: path: ./docker/image_version.txt - - name: Matrix Message - Starting Build - uses: s3krit/matrix-message-action@v0.0.3 - with: - room_id: ${{ secrets.MATRIX_ROOM_ID }} - access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} - message: "Completed FacsimiLab image build for tag ${{ steps.package.outputs.content }}" - server: "matrix.drpranavmishra.com" + # - name: Matrix Message - Starting Build + # uses: s3krit/matrix-message-action@v0.0.3 + # with: + # room_id: ${{ secrets.MATRIX_ROOM_ID }} + # access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} + # message: "Started FacsimiLab image build for tag ${{ steps.package.outputs.content }}" + # server: "matrix.drpranavmishra.com" - name: Build Docker images run: bash docker/build-all.sh - - name: Matrix Message - Completed Build - uses: s3krit/matrix-message-action@v0.0.3 - with: - room_id: ${{ secrets.MATRIX_ROOM_ID }} - access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} - message: "Completed FacsimiLab image build for tag ${{ steps.package.outputs.content }}" - server: "matrix.drpranavmishra.com" + # - name: Matrix Message - Completed Build + # uses: s3krit/matrix-message-action@v0.0.3 + # with: + # room_id: ${{ secrets.MATRIX_ROOM_ID }} + # access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} + # message: "Completed FacsimiLab image build for tag ${{ steps.package.outputs.content }}" + # server: "matrix.drpranavmishra.com" - name: Push Docker images @@ -68,10 +68,10 @@ jobs: echo "$builder_header" > testing/results/job_summary.md cat testing/results/job_summary.md >> $GITHUB_STEP_SUMMARY - - name: Matrix Message - Completed GitHub Action - uses: s3krit/matrix-message-action@v0.0.3 - with: - room_id: ${{ secrets.MATRIX_ROOM_ID }} - access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} - message: "Completed FacsimiLab build github action for tag ${{ steps.package.outputs.content }}" - server: "matrix.drpranavmishra.com" \ No newline at end of file + # - name: Matrix Message - Completed GitHub Action + # uses: s3krit/matrix-message-action@v0.0.3 + # with: + # room_id: ${{ secrets.MATRIX_ROOM_ID }} + # access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} + # message: "Completed FacsimiLab build github action for tag ${{ steps.package.outputs.content }}" + # server: "matrix.drpranavmishra.com" \ No newline at end of file From cc1e9c2fda295e60778ae99bd942ac8658bb0d1f Mon Sep 17 00:00:00 2001 From: Pranav Kumar Mishra <62562712+pranavmishra90@users.noreply.github.com> Date: Mon, 30 Dec 2024 03:37:19 -0600 Subject: [PATCH 2/3] feat: create GH action to automatically link issues and PRs to the project --- .github/workflows/link-to-project.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/link-to-project.yml diff --git a/.github/workflows/link-to-project.yml b/.github/workflows/link-to-project.yml new file mode 100644 index 0000000..c20f434 --- /dev/null +++ b/.github/workflows/link-to-project.yml @@ -0,0 +1,22 @@ +name: Add issues and PRs to Facsimilab Development project + +on: + issues: + types: + - opened + pull_request: + types: + - opened + +jobs: + add-to-project: + name: Add issue and PR to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v1 + with: + # You can target a project in a different organization + # to the issue + project-url: https://github.com/orgs/FacsimiLab/projects/1 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + \ No newline at end of file From f0b8baf32dbdb1392598cb654da4792f020fcd11 Mon Sep 17 00:00:00 2001 From: Pranav Kumar Mishra <62562712+pranavmishra90@users.noreply.github.com> Date: Mon, 30 Dec 2024 03:41:25 -0600 Subject: [PATCH 3/3] fix: specify full version --- .github/workflows/link-to-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/link-to-project.yml b/.github/workflows/link-to-project.yml index c20f434..e24d9b4 100644 --- a/.github/workflows/link-to-project.yml +++ b/.github/workflows/link-to-project.yml @@ -13,7 +13,7 @@ jobs: name: Add issue and PR to project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v1 + - uses: actions/add-to-project@v1.0.2 with: # You can target a project in a different organization # to the issue