From 0b44150f0d3244260c2c9c241aeefd5dd97c7ec9 Mon Sep 17 00:00:00 2001 From: Thibault Lengagne Date: Wed, 11 Dec 2024 11:40:13 +0100 Subject: [PATCH 1/2] feat: Add workflows Signed-off-by: Thibault Lengagne --- .github/workflows/pull_request.yaml | 23 +++++++++++++++++++++ .github/workflows/pull_request_target.yaml | 24 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/workflows/pull_request.yaml create mode 100644 .github/workflows/pull_request_target.yaml diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml new file mode 100644 index 0000000..0b19032 --- /dev/null +++ b/.github/workflows/pull_request.yaml @@ -0,0 +1,23 @@ +name: pull-request + +on: + pull_request: + +permissions: + contents: read # This is required for actions/checkout + id-token: write + +env: + URL: "https://pre-production.pebblelife.com/" + AWS_REGION: "us-east-1" +jobs: + job-1: + name: Pull request jobs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + + - name: Print PR Title + run: echo "Pull Request Title is ${{ github.event.pull_request.title }}" \ No newline at end of file diff --git a/.github/workflows/pull_request_target.yaml b/.github/workflows/pull_request_target.yaml new file mode 100644 index 0000000..8fa0689 --- /dev/null +++ b/.github/workflows/pull_request_target.yaml @@ -0,0 +1,24 @@ +name: pull-request-target + +on: + pull_request_target: + types: [opened, synchronize] + +permissions: + contents: read # This is required for actions/checkout + id-token: write + +env: + URL: "https://pre-production.pebblelife.com/" + AWS_REGION: "us-east-1" +jobs: + job-1: + name: Pull request target jobs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + + - name: Print PR Title + run: echo "Pull Request Title is ${{ github.event.pull_request.title }}" \ No newline at end of file From 24f9ea28b132ff5f2ba1161081a1141afc53f0eb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:40:35 +0000 Subject: [PATCH 2/2] Add renovate.json --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..e02b321 --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "local>padok-team/renovate-config" + ] +}