Skip to content

Commit

Permalink
Remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
MSECode authored and valegagge committed Feb 2, 2024
1 parent 9a2361f commit e722582
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 43 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,11 @@ jobs:
name: build devel and master images
runs-on: ubuntu-latest
steps:
# - name: Get Token
# id: get_workflow_token
# uses: tibdex/github-app-token@v2
# with:
# private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
# app_id: ${{ secrets.APPLICATION_ID }}
# installation_retrieval_mode: repository
# installation_retrieval_payload: icub-tech-iit/code
- name: Checkout docker-deployment-images
uses: actions/checkout@v4

- name: Repository Dispatch for building images
uses: peter-evans/repository-dispatch@v3
# env:
# GITHUB_APPS_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/onCodeChanges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -795,21 +795,10 @@ jobs:
needs: [build_push_custom, build_push, check_files]
if: always() && needs.check_files.outputs.children_flag == 'true' && ! cancelled()
steps:
- name: Get Token
id: get_workflow_token
uses: tibdex/github-app-token@v2
with:
private_key: ${{ secrets.ICUB_TECH_IIT_APP_KEY }}
app_id: ${{ secrets.ICUB_TECH_IIT_APP_ID }}
installation_retrieval_mode: repository
installation_retrieval_payload: icub-tech-iit/code

# this step ensures that the children are built with the "release" version, which is used when the "repository_trigger" is sent
- name: Repository Dispatch for release
if: github.event.client_payload.type == 'repository_trigger'
uses: peter-evans/repository-dispatch@v3
# env:
# GITHUB_APPS_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ env.REPOSITORY_NAME }}
Expand All @@ -820,8 +809,6 @@ jobs:
- name: Repository Dispatch for master
if: github.event.client_payload.type != 'repository_trigger'
uses: peter-evans/repository-dispatch@v3
# env:
# GITHUB_APPS_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ env.REPOSITORY_NAME }}
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ jobs:
name: Create Release
runs-on: ubuntu-latest
steps:
# - name: Get Token
# id: get_workflow_token
# uses: tibdex/github-app-token@v2
# with:
# private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
# app_id: ${{ secrets.APPLICATION_ID }}
# installation_retrieval_mode: repository
# installation_retrieval_payload: icub-tech-iit/code
- name: Checkout code
uses: actions/checkout@v4
- name: Get Version
Expand Down Expand Up @@ -73,20 +65,8 @@ jobs:
#draft: false
#prerelease: false

# - name: Repository Dispatch for appsAway
# uses: peter-evans/repository-dispatch@v3
# env:
# GITHUB_APPS_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
# with:
# token: ${{ env.GITHUB_APPS_TOKEN }}
# repository: icub-tech-iit/appsAway
# event-type: code_trigger
# client-payload: '{"version": "${{ github.event.client_payload.version }}"}'

- name: Repository Dispatch for building images
uses: peter-evans/repository-dispatch@v3
# env:
# GITHUB_APPS_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ env.REPOSITORY_NAME }}
Expand Down

0 comments on commit e722582

Please sign in to comment.