Skip to content

feat: add a notification banner to display for first time users (#3396) #53

feat: add a notification banner to display for first time users (#3396)

feat: add a notification banner to display for first time users (#3396) #53

name: English File transfer
on:
push:
branches:
- dev
paths:
- 'src/messages/GE.json'
jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set current date as env variable
run: echo "today=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
- name: Pushes English file
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'src/messages/GE.json'
destination_repo: 'microsoftgraph/microsoft-graph-devx-content'
destination_folder: 'messages'
destination_branch: 'dev'
user_email: ${{ secrets.ACTION_EMAIL }}
user_name: ${{ secrets.ACTION_USERNAME }}
commit_message: ${{ env.today }} English file transfer