diff --git a/backup/.github/workflows/replace-values-action.yml b/backup/.github/workflows/replace-values-action.yml new file mode 100644 index 0000000000..3d23e9943c --- /dev/null +++ b/backup/.github/workflows/replace-values-action.yml @@ -0,0 +1,17 @@ +name: Replace Values Action + +on: [push, workflow_dispatch] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Replace multiple values in a specific file + uses: GuillaumeFalourd/replace-values-action@v1.1 + with: + file_path: ./file.json + parameters: | + #{SECRET_TOKEN}# >> SECRET_VALUE + blabla >> my_app_id + - run: cat ./file.json \ No newline at end of file diff --git a/backup/README.md b/backup/README.md index 4b395bce01..b376bb8618 100644 --- a/backup/README.md +++ b/backup/README.md @@ -208,6 +208,8 @@ This repository lists some useful generic Actions to use in your Github workflow [Replace Token](https://github.com/marketplace/actions/replace-tokens): GitHub Action for replacing tokens in files. +[![Replace Values Action](https://github.com/GuillaumeFalourd/useful-actions/actions/workflows/replace-values-action.yml/badge.svg)](https://github.com/GuillaumeFalourd/useful-actions/actions/workflows/replace-values-action.yml): Github Action to replace values in files (secrets or fields). + [![Repository-Dispatch](https://github.com/GuillaumeFalourd/useful-actions/actions/workflows/repository-dispatch.yml/badge.svg)](https://github.com/GuillaumeFalourd/useful-actions/actions/workflows/repository-dispatch.yml) [![Repository-Dispatch-Triggered](https://github.com/GuillaumeFalourd/useful-actions/actions/workflows/repository-dispatch-triggered.yml/badge.svg)](https://github.com/GuillaumeFalourd/useful-actions/actions/workflows/repository-dispatch-triggered.yml) [Repository-Dispatch](https://github.com/marketplace/actions/repository-dispatch): GitHub Action to create a repository dispatch event. diff --git a/backup/checkout-workflow.txt b/backup/checkout-workflow.txt index 7d7d13a84c..841f6d939a 100644 --- a/backup/checkout-workflow.txt +++ b/backup/checkout-workflow.txt @@ -1 +1 @@ -Fri Sep 22 01:10:21 UTC 2023 +Mon Sep 25 01:11:11 UTC 2023 diff --git a/backup/commit-and-push-workflow.txt b/backup/commit-and-push-workflow.txt index 4b4deaad0f..85e81d5b1f 100644 --- a/backup/commit-and-push-workflow.txt +++ b/backup/commit-and-push-workflow.txt @@ -1 +1 @@ -Thu Jul 6 11:37:46 UTC 2023 +Mon Sep 25 11:09:59 UTC 2023 diff --git a/backup/git-auto-commit-workflow.txt b/backup/git-auto-commit-workflow.txt index 42df8d9a18..bb93b943d5 100644 --- a/backup/git-auto-commit-workflow.txt +++ b/backup/git-auto-commit-workflow.txt @@ -1 +1 @@ -Thu Jul 6 11:37:10 UTC 2023 +Mon Sep 25 11:08:55 UTC 2023 diff --git a/backup/pull-request-workflow.txt b/backup/pull-request-workflow.txt index e069d53203..695adbadc6 100644 --- a/backup/pull-request-workflow.txt +++ b/backup/pull-request-workflow.txt @@ -1 +1 @@ -Thu Sep 21 06:22:05 UTC 2023 +Mon Sep 25 06:22:55 UTC 2023 diff --git a/ubuntu_report_full_remote.txt b/ubuntu_report_full_remote.txt index 3ccb256ed2..7823c0ea3d 100644 --- a/ubuntu_report_full_remote.txt +++ b/ubuntu_report_full_remote.txt @@ -1 +1 @@ -Mon Sep 25 02:13:45 UTC 2023 +Tue Sep 26 02:13:14 UTC 2023