--- /dev/null
+# This is a basic workflow to help you get started with Actions
+
+name: p4-lock-checker
+
+# Controls when the workflow will run
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+ p4-lock-checker:
+ runs-on: [code-default]
+ container:
+ image: actions-docker.bart.sec.samsung.net/docker-gbs-base
+ options: --user root --privileged
+
+ # environmental variables to access VD P4. It needs to be updated when the accoung info is changed (e.g. password reset).
+ env:
+ P4PORT: ${{ secrets.P4PORT }}
+ P4USER: ${{ secrets.P4USER }}
+ P4PASSWD: ${{ secrets.P4PASSWD }}
+
+ # Steps represent a sequence of tasks that will be executed as part of the job
+ steps:
+ - name: P4 setup
+ uses: code-actions/perforce-setup-p4@v1
+ with:
+ command: login
+ global_options: '-p ${{ secrets.P4PORT }} -u ${{ secrets.P4USER }}'
+
+ - name: check P4 ESPP DEV status
+ run: |
+ p4 fstat "//TIZEN/[MAIN]/[ONEPROD_Prj]/[FET]/[COSMOS]/PLATFORM/PPI/capi-trackrenderer-tv/AUTHORS"