From 03115c0de1ced5e0fc238bd73efac9c5c98246f2 Mon Sep 17 00:00:00 2001 From: PRATHAMESH BHAGAT <90595097+PrathameshBhagat@users.noreply.github.com> Date: Wed, 17 Sep 2025 22:25:37 +0530 Subject: [PATCH] Removing unnecessary lines in workflows files (#2692) --- .github/workflows/changelog-to-fastlane.yml | 14 +++----------- .github/workflows/contributors-to-file.yml | 14 +++----------- .github/workflows/generate-feature-graphic.yml | 14 +++----------- .github/workflows/update-locales.yml | 14 +++----------- 4 files changed, 12 insertions(+), 44 deletions(-) diff --git a/.github/workflows/changelog-to-fastlane.yml b/.github/workflows/changelog-to-fastlane.yml index c8b189135..612a021b4 100644 --- a/.github/workflows/changelog-to-fastlane.yml +++ b/.github/workflows/changelog-to-fastlane.yml @@ -1,4 +1,5 @@ name: Convert CHANGELOG to Fastlane + on: workflow_dispatch: push: @@ -6,20 +7,11 @@ on: - main paths: - 'CHANGELOG.md' + permissions: - actions: none - checks: none contents: write - deployments: none - discussions: none - id-token: none - issues: none - packages: none - pages: none pull-requests: write - repository-projects: none - security-events: none - statuses: none + jobs: convert_changelog_to_fastlane: runs-on: ubuntu-latest diff --git a/.github/workflows/contributors-to-file.yml b/.github/workflows/contributors-to-file.yml index 3673e8a10..0ed926d15 100644 --- a/.github/workflows/contributors-to-file.yml +++ b/.github/workflows/contributors-to-file.yml @@ -1,22 +1,14 @@ name: Write contributors to file + on: workflow_dispatch: schedule: - cron: '3 4 * * 0' + permissions: - actions: none - checks: none contents: write - deployments: none - discussions: none - id-token: none - issues: none - packages: none - pages: none pull-requests: write - repository-projects: none - security-events: none - statuses: none + jobs: contributors_to_file: runs-on: ubuntu-latest diff --git a/.github/workflows/generate-feature-graphic.yml b/.github/workflows/generate-feature-graphic.yml index 2d68e3a46..167d630e6 100644 --- a/.github/workflows/generate-feature-graphic.yml +++ b/.github/workflows/generate-feature-graphic.yml @@ -1,4 +1,5 @@ name: Generate feature graphic + on: workflow_dispatch: push: @@ -7,20 +8,11 @@ on: paths: - 'fastlane/**/title.txt' - '.scripts/generate_feature_graphic/**' + permissions: - actions: none - checks: none contents: write - deployments: none - discussions: none - id-token: none - issues: none - packages: none - pages: none pull-requests: write - repository-projects: none - security-events: none - statuses: none + jobs: generate-feature-graphic: runs-on: ubuntu-latest diff --git a/.github/workflows/update-locales.yml b/.github/workflows/update-locales.yml index fa169b875..9ee865842 100644 --- a/.github/workflows/update-locales.yml +++ b/.github/workflows/update-locales.yml @@ -1,4 +1,5 @@ name: Update locales + on: workflow_dispatch: push: @@ -7,20 +8,11 @@ on: paths: - app/src/main/res/values-*/strings.xml - app/src/main/res/values/settings.xml + permissions: - actions: none - checks: none contents: write - deployments: none - discussions: none - id-token: none - issues: none - packages: none - pages: none pull-requests: write - repository-projects: none - security-events: none - statuses: none + jobs: update-locales: runs-on: ubuntu-latest