Skip to content

Commit

Permalink
feat: Add workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Thibault Lengagne <[email protected]>
  • Loading branch information
Thibault Lengagne committed Dec 11, 2024
1 parent fa9015b commit 0b44150
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
@@ -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 }}"
24 changes: 24 additions & 0 deletions .github/workflows/pull_request_target.yaml
Original file line number Diff line number Diff line change
@@ -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 }}"

0 comments on commit 0b44150

Please sign in to comment.