You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The renewal action is ran every two weeks and needs a github token. I didn't manage to use the action github token to renew an action secret so I use a personal fined grained access token: https://github.com/settings/tokens?type=beta
Unfortunately, this token has a maximum duration of 12 months.
I would be interested in finding a more reliable way to renew the facebook token. For example, I'm wondering if the standard github action token could not be used.
A facebook token is needed to retrieve event from the facebook page : https://github.com/atelierdesmedias/atelierdesmedias.github.io/blob/main/events.rb
It is stored in the action secret as
FACEBOOK_TOKEN
: https://github.com/atelierdesmedias/atelierdesmedias.github.io/settings/secrets/actionsUnfortunately it expires after several weeks so I implemented a renewal mechanism that update the token: https://github.com/atelierdesmedias/atelierdesmedias.github.io/blob/main/renew.rb
The renewal action is ran every two weeks and needs a github token. I didn't manage to use the action github token to renew an action secret so I use a personal fined grained access token: https://github.com/settings/tokens?type=beta
Unfortunately, this token has a maximum duration of 12 months.
I would be interested in finding a more reliable way to renew the facebook token. For example, I'm wondering if the standard github action token could not be used.
I tried to open all permissions here without success: https://github.com/atelierdesmedias/atelierdesmedias.github.io/blob/main/.github/workflows/renew.yml
The text was updated successfully, but these errors were encountered: