Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #15

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

test #15

Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/cherryPick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
uses: Expensify/App/.github/workflows/createNewVersion.yml@main
secrets: inherit


cherryPick:
needs: [validateActor, createNewVersion]
if: ${{ always() && fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }}
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/prTarget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Test workflows for both - dispatch and target

on:
workflow_dispatch:
pull_request_target:
types: [opened, synchronize]

env:
DEVELOPER_DIR: /Applications/Xcode_14.0.1.app/Contents/Developer

jobs:
withPermission:
runs-on: ubuntu-latest
name: An example job to comment a PR
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: test echo
run: echo ${{ secrets.AWS_ACCESS_KEY_ID }}

- name: Publish links to apps for download
run: |
gh pr comment --body \
"| android :robot: | iOS :apple: |
| ------------- | ------------- |
| HAAHAA | https://ios.with.pl |"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
withoutPermission:
runs-on: ubuntu-latest
name: An example job to comment a PR
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: test echo
run: echo ${{ secrets.AWS_ACCESS_KEY_ID }}

- name: Publish links to apps for download
run: |
gh pr comment --body \
"| android :robot: | iOS :apple: |
| ------------- | ------------- |
| HAHAHAH | https://ios.without.pl |"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53 changes: 53 additions & 0 deletions .github/workflows/testWorkflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Test workflows

on:
workflow_dispatch:
# pull_request_target:
# types: [opened, synchronize]

env:
DEVELOPER_DIR: /Applications/Xcode_14.0.1.app/Contents/Developer

jobs:
withPermission:
runs-on: ubuntu-latest
name: An example job to comment a PR
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: test echo
run: echo ${{ secrets.AWS_ACCESS_KEY_ID }}

- name: Publish links to apps for download
run: |
gh pr comment --body \
"| android :robot: | iOS :apple: |
| ------------- | ------------- |
| https://android.with.pl | https://ios.with.pl |"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
withoutPermission:
runs-on: ubuntu-latest
name: An example job to comment a PR
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: test echo
run: echo ${{ secrets.AWS_ACCESS_KEY_ID }}

- name: Publish links to apps for download
run: |
gh pr comment --body \
"| android :robot: | iOS :apple: |
| ------------- | ------------- |
| https://android.without.pl | https://ios.without.pl |"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ platform :ios do
end

desc "Build and upload app to TestFlight"

lane :beta do
require 'securerandom'
ENV["ENVFILE"]=".env.production"
Expand Down