Skip to content

chore: 🔄 synced file(s) with latest changes #1

chore: 🔄 synced file(s) with latest changes

chore: 🔄 synced file(s) with latest changes #1

Workflow file for this run

name: sync-to-public
on:
pull_request:
branches: [ "master" ]
workflow_call:
inputs:
target_commitish:
required: true
type: string
repository_name:
required: true
type: string
run_number:
required: true
type: string
jobs:
sync:
runs-on: small
permissions:
id-token: write
contents: read
env:
GITHUB_BOT_COMMITER_NAME: circle-github-action-bot
GITHUB_BOT_COMMITER_EMAIL: circle-github-actions@circle.com
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::514563129364:role/github-actions-service-role
role-session-name: w3s-rn-sample-app-wallets-internal-10
# role-session-name: ${{ inputs.repository_name }}-${{ inputs.run_number }}
- name: Read Github Action Bot Secrets
uses: aws-actions/aws-secretsmanager-get-secrets@1d6311ab61b4856de027ff508aac818ddc1e141b # v2.0.7
with:
parse-json-secrets: true
secret-ids: |
CIRCLE_GPG_PRIV_KEY,/ops/utilities/github-actions-bot/gpg-priv-key
CIRCLE_API_TOKEN,/ops/utilities/github-actions-bot/api-token
API_TOKEN,/ops/utilities/github-actions-bot/emu-api-token
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
# ref: ${{ inputs.target_commitish }}
token: ${{ env.API_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
with:
gpg_private_key: ${{ env.CIRCLE_GPG_PRIV_KEY }}
git_committer_name: ${{ env.GITHUB_BOT_COMMITER_NAME }}
git_committer_email: ${{ env.GITHUB_BOT_COMMITER_EMAIL }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Run GitHub File Sync
# uses: crcl-main/github-shared-pipelines/.github/actions/repo-file-sync-action@v1
uses: ./.github/actions/repo-file-sync-action
with:
GH_PAT: ${{ env.CIRCLE_API_TOKEN }}
GIT_EMAIL: ${{ env.GITHUB_BOT_COMMITER_EMAIL }}
PR_TITLE: "chore: 🔄 synced file(s) with latest changes"
PR_BODY_TEMPLATE: |
synced local file(s) with latest changes.
%prBody%
%changedFiles%
---
This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#%runId%]