Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/save-settings-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ jobs:
- uses: actions/setup-node@v4
- run: npm install
working-directory: ${{ env.SAFE_SETTINGS_CODE_DIR }}
- name: Set no-op mode flag
run: |
echo "FULL_SYNC_NOP=false" >> $GITHUB_ENV

if [[ "${{ github.event_name }}" == "pull_request" ]]; then
echo "FULL_SYNC_NOP=true" >> $GITHUB_ENV
fi

if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
if [[ "${{ inputs.NOP }}" != "" ]]; then
echo "FULL_SYNC_NOP=${{ inputs.NOP }}" >> $GITHUB_ENV
fi
fi
- run: npm run full-sync
working-directory: ${{ env.SAFE_SETTINGS_CODE_DIR }}
env:
Expand All @@ -41,4 +54,5 @@ jobs:
ADMIN_REPO: .github
CONFIG_PATH: safe-settings
DEPLOYMENT_CONFIG_FILE: ${{ github.workspace }}/safe-settings/deployment-settings.yml
LOG_LEVEL: info
LOG_LEVEL: info
FULL_SYNC_NOP: ${{ env.FULL_SYNC_NOP }}
Loading